Nationscapers nationscapers_wiki https://nationscapers.shoutwiki.com/wiki/Main_Page MediaWiki 1.35.13 first-letter Media Special Talk User User talk Nationscapers Nationscapers talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Module Module talk Gadget Gadget talk Gadget definition Gadget definition talk Main Page 0 1 1 2019-12-18T17:55:41Z Rubikia 30444800 Created page with "{{MainTemplate | welcome = Welcome to '''{{SITENAME}}!''' | blurb = You can put a short description of your wiki here. | about_title = About this site | about_content = This..." wikitext text/x-wiki {{MainTemplate | welcome = Welcome to '''{{SITENAME}}!''' | blurb = You can put a short description of your wiki here. | about_title = About this site | about_content = This is your new site! Feel free to start editing right away! If you need any help, don't hesitate to contact ShoutWiki's [[Special:ListUsers/staff|Customer Support Team]]. | featured_title = Featured Article | featured_content = You can put a "featured article" here to show off the very best pieces that your community has done &mdash; or alternatively, you can use this space for something else if featured articles aren't "your thing". | didyouknow_title = Did you know... | didyouknow_content = * ...that you can add your own "did you know" tidbits right here? | news_title = News | news_content = * This wiki was started! }} a8ae9f2f544922f44ef407d59dce5b9d42303d64 5 1 2019-12-18T17:58:52Z Rubikia 30444800 wikitext text/x-wiki {{MainTemplate | welcome = Welcome to '''{{SITENAME}}!''' | blurb = A Collaborative Worldbuilding Wiki | about_title = About this site | about_content = This is your new site! Feel free to start editing right away! If you need any help, don't hesitate to contact ShoutWiki's [[Special:ListUsers/staff|Customer Support Team]]. | featured_title = Featured Article | featured_content = You can put a "featured article" here to show off the very best pieces that your community has done &mdash; or alternatively, you can use this space for something else if featured articles aren't "your thing". | didyouknow_title = Did you know... | didyouknow_content = * ...that you can add your own "did you know" tidbits right here? | news_title = News | news_content = * This wiki was started! }} ea8e76b2256065c0e6d617eda7cb7128025e371b Template:MainTemplate 10 2 2 2019-12-18T17:56:25Z Rubikia 30444800 Created page with "{{HeaderTemplate|welcome={{{welcome}}}|blurb={{{blurb}}}}} <br /> <!-- LEFT COLUMN --> {| width="100%" cellspacing="0" cellpadding="0" style="background:transparent;" |- |..." wikitext text/x-wiki {{HeaderTemplate|welcome={{{welcome}}}|blurb={{{blurb}}}}} <br /> <!-- LEFT COLUMN --> {| width="100%" cellspacing="0" cellpadding="0" style="background:transparent;" |- | width="50%" style="vertical-align:top; padding-right:0.5em;" | <!-- Info about this site --> {{SectionTemplate|title={{{about_title}}}|content={{{about_content}}}}} | width="50%" style="vertical-align:top; padding-left:0.5em;" | <!-- Featured Article --> {{SectionTemplate|title={{{featured_title}}}|content={{{featured_content}}}}} |} <br /> <!-- RIGHT COLUMN --> {| width="100%" cellspacing="0" cellpadding="0" style="background:transparent;" |- | width="50%" style="vertical-align:top; padding-right:0.5em;" | <!-- Did you know... --> {{SectionTemplate|title={{{didyouknow_title}}}|content={{{didyouknow_content}}}}} | width="50%" style="vertical-align:top; padding-left:0.5em;" | <!-- Site news --> {{SectionTemplate|title={{{news_title}}}|content={{{news_content}}}}} |} __NOTOC__ __NOEDITSECTION__ 78f8386e9d2112600b0c1d1b84022fead288afdb Template:SectionTemplate 10 3 3 2019-12-18T17:57:01Z Rubikia 30444800 Created page with "<h2 style="border:none; background-color:#4682B4; padding:0.2em 0; margin:0; color:#ffffff; font-size:125%; font-weight:bold; text-indent:0.5em; font-variant:small-caps; -moz-..." wikitext text/x-wiki <h2 style="border:none; background-color:#4682B4; padding:0.2em 0; margin:0; color:#ffffff; font-size:125%; font-weight:bold; text-indent:0.5em; font-variant:small-caps; -moz-border-radius: 10px">{{{title}}}</h2> <div style="margin-bottom:1em; padding:0.5em 0.8em 0.5em 0.8em;"> {{{content}}} </div> a3eaeb792831e5830ecbb2db32c638dc9f8f7349 Template:HeaderTemplate 10 4 4 2019-12-18T17:57:21Z Rubikia 30444800 Created page with "<div> <!-- Beginning of header section --> {|style="width:100%;margin-top:+.7em;background-color:#4682B4;border:1px solid #ccc;-moz-border-radius:20px" |style="width:45%;color..." wikitext text/x-wiki <div> <!-- Beginning of header section --> {|style="width:100%;margin-top:+.7em;background-color:#4682B4;border:1px solid #ccc;-moz-border-radius:20px" |style="width:45%;color:#000"| {|style="width:100%;border:solid 0px;background:none" |- |style="width:100%px;text-align:center;white-space:nowrap;color:#000" | <div style="font-size:195%;border:none;margin: 0;padding:.1em;color:#FFFFFF">{{{welcome}}}</div> |}<!-- Blurb & useful links --> |style="width:45%;font-size:125%;color:#FFFFFF"| {{{blurb}}} |}<!-- End of blurb & useful links --> </div> a384f27c7f43d66acecf5d65137f0fd5a41a122e Template:Infobox 10 5 6 2019-12-18T17:59:48Z Rubikia 30444800 Created page with "{{#invoke:Infobox|infobox}}<noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude>" wikitext text/x-wiki {{#invoke:Infobox|infobox}}<noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude> adcda4ac544f8af340cf47833dc2960631593988 Template:Infobox/doc 10 6 7 2019-12-18T18:00:24Z Rubikia 30444800 Created page with "{{distinguish|Template:Userbox}} {{Documentation subpage}} <includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|old | |{{High-risk|2,520,000+}}{{Lua|Module:Infobox}}}}</inclu..." wikitext text/x-wiki {{distinguish|Template:Userbox}} {{Documentation subpage}} <includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|old | |{{High-risk|2,520,000+}}{{Lua|Module:Infobox}}}}</includeonly> {{Generic template demo |name={{PAGENAME}} <!--|child |subbox |decat--> |title |above |subheader |subheader1 |subheader2={{{subheader2}}}<br/>...... |image|caption |image1|caption1 |image2|caption2={{{caption2}}}<br/>...... |header1=<div style="border-top:1px dashed #ccc;">{{{header1}}}<br/>{{nobold|( ''or'' )}}</div> |label2={{{label1}}} |data2={{{data1}}} |data3=( ''or'' ) |data4=<div style="padding-bottom:0.25em;border-bottom:1px dashed #ccc;">{{{data1}}}</div> |header5={{{header2}}}<br/><div style="padding:0.75em 0 0.5em;">{{nobold|( ''or'' )}}</div> |label6={{{label2}}} |data6={{{data2}}} |data7=( ''or'' ) |data8=<div style="padding-bottom:0.25em;border-bottom:1px dashed #ccc;">{{{data2}}}</div> |data9=<div style="padding:0.75em 0 0.5em;">( ''etc'' )</div> |below }} This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. [[Help:Infobox]] contains an introduction about the recommended content and design of infoboxes. See [[WP:List of infoboxes]] and [[:Category:Infobox templates]] for lists of prepared topic-specific infoboxes. == Usage == Usage is similar to {{tl|navbox}}, but with an additional distinction. Each row on the table can contain either a header, or a label/data pair, or just a data cell. These are mutually exclusive states so if you define a row with both a header and a label/data pair, the label/data pair is ignored. To insert an image somewhere other than at the top of the infobox, or to insert freeform data, use a row with only a data field. == Optional control parameters == ; name : If this parameter is present, "view/discuss/edit" links will be added to the bottom of the infobox, pointing to the named page. You may use the value <nowiki>{{subst:PAGENAME}}</nowiki>; however this is rarely what you want, because it will send users clicking these links in an infobox in an article to the template code rather than the data in the infobox that they probably want to change. ; child : See the [[#Embedding|Embedding]] section for details. If this is set to "yes", this child infobox should be titled but have no name parameter. This parameter is empty by default, set it to "yes" to activate it. ; subbox : See the [[#Subboxes|Subboxes]] section for details. If this is set to "yes", this subbox should be titled but have no name parameter. This parameter is empty by default, set to "yes" to activate it. It has no effect if the '''child''' parameter is also set to "yes". ; decat : If this is set to "yes", the current page will not be autocategorized in a maintenance category when the generated infobox has some problems or no visible data section. Leave empty by default or set to "yes" to activate it. == Content parameters == === Title === There are two different ways to put a title on an infobox. One contains the title inside the infobox's border in the uppermost cell of the table, the other puts as a caption it on top of the table. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended): ; title : Text to put in the caption over the top of the table (or as section header before the whole content of this table, if this is a child infobox). For [[Wikipedia:Manual of Style/Accessibility#Tables|accessibility reasons]], this is the most recommended alternative. ; above : Text to put within the uppermost cell of the table. ; subheader(n) : additional title fields which fit below {{{title}}} and {{{above}}}, but before images. Examples: {{Infobox | name = Infobox/doc | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} {{Infobox | name = Infobox/doc | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} === Illustration images === ; image(n) : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. See [[WP:ALT]] for more on alt text. ; caption(n) : Text to put underneath the images. === Main data === ; header(n) : Text to use as a header in row n. ; label(n) : Text to use as a label in row n. ; data(n) : Text to display as data in row n. Note: for any given value for (n), not all combinations of parameters are permitted. The presence of a {{para|header''(n)''}} will cause the corresponding {{para|data''(n)''}} (and {{para|rowclass''(n)''}} {{para|label''(n)''}}, see below) to be ignored; the absence of a {{para|data''(n)''}} will cause the corresponding {{para|label''(n)''}} to be ignored. Valid combinations for any single row are: * {{para|class''(n)''}} {{para|header''(n)''}} * {{para|rowclass''(n)''}} {{para|class''(n)''}} {{para|data''(n)''}} * {{para|rowclass''(n)''}} {{para|label''(n)''}} {{para|class''(n)''}} {{para|data''(n)''}} See the rendering of header4, label4, and data4 in the [[#Examples|Examples]] section below. ==== Number ranges ==== To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example: <pre style="overflow:auto"> | header3 = Section 1 | label5 = Label A | data5 = Data A | label7 = Label C | data7 = Data C | header10 = Section 2 | label12 = Label D | data12 = Data D </pre>{{clear}} It is also possible to automatically renumber parameter names by using [[User:Frietjes/infoboxgap.js]] or [[Module:IncrementParams]]. ==== Making data fields optional ==== A row with a label but no data is not displayed. This allows for the easy creation of optional infobox content rows. To make a row optional use a parameter that defaults to an empty string, like so: <pre style="overflow:auto"> | label5 = Population | data5 = {{{population|}}} </pre>{{clear}} This way if an article doesn't define the population parameter in its infobox the row won't be displayed. For more complex fields with pre-formatted contents that would still be present even if the parameter wasn't set, you can wrap it all in an "#if" statement to make the whole thing vanish when the parameter is not used. For instance, the "#if" statement in the following example reads "#if:the parameter ''mass'' has been supplied |then display it, followed by 'kg'": <pre style="overflow:auto"> | label6 = Mass | data6 = {{ #if: {{{mass|}}} | {{{mass}}} kg }} </pre>{{clear}} For more on #if, see [[meta:ParserFunctions##if:|here]]. ==== Hiding headers when all data fields are hidden ==== You can also make headers optional in a similar way. Consider this example: {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} If you want the first header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it: {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} header1 will be shown if any of item1, item2, or item3 is defined. If none of the three parameters are defined the header won't be shown and no emty row appears before the next static content. The trick to this is that the "#if" returns false only if there is nothing whatsoever in the conditional section, so only if all three of item1, item2 and item3 are undefined will the if statement fail. Note that such trick may be sometimes very complex to test if there are many data items whose value depends on complex tests (or when a data row is generated by a recursive invokation of this template as a [[#Subboxes|subbox]]). Ideally, the Lua module supporting this template should now support a new way to make each header row autohideable by detecting if there is at least one non-empty data row after that header row (a parameter like "autohide header1 = yes", for example, would remove the need to perform the "#if" test so that we can just to define "header1 = Optional header"), === Footer === ; below : Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information. == Presentation parameters == === Italic titles === Titles of articles with infoboxes may be made italic, in line with [[WP:ITALICTITLE]], by passing the <code>italic title</code> parameter. * Turn on italic titles by passing {{para|italic title|<nowiki>{{{italic title|}}}</nowiki>}} from the infobox. * Turn off by default (notably because only Latin script may be safely rendered in this style and italic may be needed to distinguish foreign language from local English language only in that script, but would be difficult to read for other scripts) but allow some instances to be made italic by passing {{para|italic title|<nowiki>{{{italic title|no}}}</nowiki>}} * Do not make any titles italic by not passing the parameter at all. === CSS styling === ; bodystyle : Applies to the infobox table as a whole ; titlestyle : Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox. ; abovestyle : Applies only to the "above" cell at the top. The default style has font-size:125%; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:100%;" in the abovestyle. ; imagestyle : Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future. ; captionstyle : Applies to the text of the image caption. ; rowstyle(n) : This parameter is inserted into the <code>style</code> attribute for the specified row. ; headerstyle : Applies to all header cells ; labelstyle : Applies to all label cells ; datastyle : Applies to all data cells ; belowstyle : Applies only to the below cell === HTML classes and microformats === ; bodyclass : This parameter is inserted into the <code>class</code> attribute for the infobox as a whole. ; titleclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''title''' caption. <!-- currently not implemented in Lua module ; aboverowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''above''' cell is on. --> ; aboveclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''above''' cell. ; subheaderrowclass(n) : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''subheader''' is on. ; subheaderclass(n) : This parameter is inserted into the <code>class</code> attribute for the infobox's '''subheader'''. ; imagerowclass(n) : These parameters are inserted into the <code>class</code> attribute for the complete table row their respective '''image''' is on. ; imageclass : This parameter is inserted into the <code>class</code> attribute for the '''image'''. ; rowclass(n) : This parameter is inserted into the <code>class</code> attribute for the specified row including the '''label''' and '''data''' cells. ; class(n) : This parameter is inserted into the <code>class</code> attribute for the '''data''' cell of the specified row. If there's no '''data''' cell it has no effect. <!-- currently not implemented in Lua module ; belowrowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''below''' cell is on. --> ; belowclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''below''' cell. This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. Multiple class names may be specified, separated by spaces, some of them being used as selectors for custom styling according to a project policy or to the skin selected in user preferences, others beig used for microformats. To flag an infobox as containing [[hCard]] information, for example, add the following parameter: <pre style="overflow:auto"> | bodyclass = vcard </pre>{{clear}} And for each row containing a data cell that's part of the vcard, add a corresponding class parameter: <pre style="overflow:auto"> | class1 = fn | class2 = org | class3 = tel </pre>{{clear}} ...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox. See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general. == Examples == Notice how the row doesn't appear in the displayed infobox when a '''label''' is defined without an accompanying '''data''' cell, and how all of them are displayed when a '''header''' is defined on the same row as a '''data''' cell. Also notice that '''subheaders''' are not bold by default like the '''headers''' used to split the main data section, because this role is meant to be for the '''above''' cell : {{Infobox |name = Infobox/doc |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = |image = [[File:example.png|200px|alt=Example alt text]] |caption = Caption displayed below example.png |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} <pre style="overflow:auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = | image = [[File:example.png|200px|alt=Example alt text]] |caption = Caption displayed below example.png |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} </pre>{{clear}} For this example, the '''bodystyle''' and '''labelstyle''' parameters are used to adjust the infobox width and define a default width for the column of labels: {{Infobox |name = Infobox/doc |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} <pre style="overflow: auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} </pre>{{clear}} == Embedding == <!--Linked from [[Template:Subinfobox bodystyle/doc]]--> One infobox template can be embedded into another using the {{para|child}} parameter. This feature can be used to create a modular infobox, or to create more well defined logical sections. Previously, it was necessary to use embedding in order to create infoboxes with more than 99 rows, but there is now no limit to the number of rows that can be defined in a single instance of <code><nowiki>{{infobox}}</nowiki></code>. {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note, in the examples above, the child infobox is placed in a <code>data</code> field, not a <code>header</code> field. Notice that the section subheadings are not in bold font if bolding is not explicitly specified. To obtain bold section headings, place the child infobox in a '''header''' field (but not in a '''label''' field because it would not be displayed!), either using {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} or, {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note that omitting the {{para|title}} parameter, and not including any text preceding the embedded infobox, may result in spurious blank table rows, creating gaps in the visual presentation. == Subboxes == An alternative method for embedding is to use {{para|subbox|yes}}, which removes the outer border from the infobox, but preserves the interior structure. One feature of this approach is that the parent and child boxes need not have the same structure, and the label and data fields are not aligned between the parent and child boxes because they are not in the same parent table. {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} <pre style="overflow:auto"> {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} </pre>{{clear}} Similar embedding techniques may be used within content parameters of some other templates generating tables (such as [[:Template:Sidebar|Sidebar]]) : {{Sidebar | navbar = off | headingstyle = background-color:#eee; | heading1 = Heading 1 | heading2 = Heading 2 | content3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | content4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | heading5 = Heading 5 }} <pre style="overflow:auto"> {{Sidebar | navbar = off | headingstyle = background-color:#eee; | heading1 = Heading 1 | heading2 = Heading 2 | content3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | content4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | heading5 = Heading 5 }} </pre>{{clear}} Note that the default padding of the parent data cell containing each subbox is still visible, so the subboxes are slightly narrower than the parent box and there's a higher vertical spacing between standard cells of the parent box than between cells of distinct subboxes. == Controlling line-breaking in embedded bulletless lists == Template {{tlx|nbsp}} may be used with {{tlx|wbr}} and {{tlx|nowrap}} to control line-breaking in bulletless lists embedded in infoboxes (e.g. cast list in {{tlx|Infobox film}}), to prevent wrapped long entries from being confused with multiple entries. See [[Template:Wbr/doc#Controlling line-breaking in infoboxes]] for details. == Full blank syntax == (Note: there is no limit to the number of possible rows; only 20 are given below since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.) <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | child = {{{child|}}} | subbox = {{{subbox|}}} | italic title = {{{italic title|no}}} | bodystyle = | titlestyle = | abovestyle = | subheaderstyle = | title = | above = | subheader = | imagestyle = | captionstyle = | image = | caption = | image2 = | caption2 = | headerstyle = | labelstyle = | datastyle = | header1 = | label1 = | data1 = | header2 = | label2 = | data2 = | header3 = | label3 = | data3 = | header4 = | label4 = | data4 = | header5 = | label5 = | data5 = | header6 = | label6 = | data6 = | header7 = | label7 = | data7 = | header8 = | label8 = | data8 = | header9 = | label9 = | data9 = | header10 = | label10 = | data10 = | header11 = | label11 = | data11 = | header12 = | label12 = | data12 = | header13 = | label13 = | data13 = | header14 = | label14 = | data14 = | header15 = | label15 = | data15 = | header16 = | label16 = | data16 = | header17 = | label17 = | data17 = | header18 = | label18 = | data18 = | header19 = | label19 = | data19 = | header20 = | label20 = | data20 = | belowstyle = | below = }} </pre>{{clear}} {{Help:Infobox/user style}} == Porting to other MediaWikis == The infobox template requires the [[:mw:Extension:Scribunto|Scribunto]] extension and [[mw:Manual:Using content from Wikipedia#HTMLTidy|HTMLTidy]] to be installed. It may not work with other MediaWikis. [[Wikipedia:WikiProject Transwiki|WikiProject Transwiki]] has a version of this template that has been modified to work on other MediaWikis. ==See also== * [[Module:Infobox]], the [[WP:LUA|Lua]] module on which this template is based * [[Special:Permalink/558855956|Template:Infobox/old]], the previous ParserFunctions implementation * {{tl|Infobox3cols}} * {{tl|Navbox}} and {{tl|Sidebar}} * [[Wikipedia:List of infoboxes|List of infoboxes]] * Maintenance categories: ** [[:Category:Articles which use infobox templates with no data rows]] ** [[:Category:Pages which use embedded infobox templates with the title parameter]] <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | [[Category:Infobox templates| ]] [[Category:Wikipedia metatemplates|Infobox]] [[Category:Templates generating microformats]] }}</includeonly> 5342c855a4bace40d2b19baa98bad95bb2831018 Template:Infobox continent 10 7 8 2019-12-18T18:01:07Z Rubikia 30444800 Created page with "{{Infobox |title = {{{title|}}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|..." wikitext text/x-wiki {{Infobox |title = {{{title|}}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}} |label1 = Area |data1 = {{{area|}}} |label2 = Population |data2 = {{{population|}}} |label3 = Pop. density |data3 = {{{density|}}} |label4 = GDP (nominal) |data4 = {{{GDP_nominal|}}} |label5 = GDP (PPP) |data5 = {{{GDP_PPP|}}} |label6 = [[Demonym]] |data6 = {{{demonym|}}} |label7 = Countries |data7 = {{#if: {{{list_countries|}}} | [[{{{list_countries}}}|{{{countries|}}}]] | {{{countries|}}}}} |label8 = Dependencies |data8 = {{{dependencies|}}} |label9 = Non-UN states |data9 = {{{unrecognized|}}} |label10 = Languages |data10 = {{{languages|}}} |label11 = Time zones |data11 = {{{time|}}} |label12 = Internet [[Top-level domain|TLD]] |data12 = {{{internet|}}} |label13 = Largest cities |data13 = {{{cities|}}} }}<noinclude> {{documentation}} </noinclude> d3eac6992c5129d6c68e087c0b4c37379c16ae09 Module:Documentation 828 8 9 2019-12-18T18:02:05Z Rubikia 30444800 Created page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs local messageBox = require('Module:Message box') --..." Scribunto text/plain -- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs local messageBox = require('Module:Message box') -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purposes. ---------------------------------------------------------------------------- local function message(cfgKey, valArray, expectType) --[[ -- Gets a message from the cfg table and formats it if appropriate. -- The function raises an error if the value from the cfg table is not -- of the type expectType. The default type for expectType is 'string'. -- If the table valArray is present, strings such as $1, $2 etc. in the -- message are substituted with values from the table keys [1], [2] etc. -- For example, if the message "foo-message" had the value 'Foo $2 bar $1.', -- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz." --]] local msg = cfg[cfgKey] expectType = expectType or 'string' if type(msg) ~= expectType then error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2) end if not valArray then return msg end local function getMessageVal(match) match = tonumber(match) return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4) end local ret = ugsub(msg, '$([1-9][0-9]*)', getMessageVal) return ret end p.message = message local function makeWikilink(page, display) if display then return mw.ustring.format('[[%s|%s]]', page, display) else return mw.ustring.format('[[%s]]', page) end end p.makeWikilink = makeWikilink local function makeCategoryLink(cat, sort) local catns = mw.site.namespaces[14].name return makeWikilink(catns .. ':' .. cat, sort) end p.makeCategoryLink = makeCategoryLink local function makeUrlLink(url, display) return mw.ustring.format('[%s %s]', url, display) end p.makeUrlLink = makeUrlLink local function makeToolbar(...) local ret = {} local lim = select('#', ...) if lim < 1 then return nil end for i = 1, lim do ret[#ret + 1] = select(i, ...) end return '<small style="font-style: normal;">(' .. table.concat(ret, ' &#124; ') .. ')</small>' end p.makeToolbar = makeToolbar ---------------------------------------------------------------------------- -- Argument processing ---------------------------------------------------------------------------- local function makeInvokeFunc(funcName) return function (frame) local args = getArgs(frame, { valueFunc = function (key, value) if type(value) == 'string' then value = value:match('^%s*(.-)%s*$') -- Remove whitespace. if key == 'heading' or value ~= '' then return value else return nil end else return value end end }) return p[funcName](args) end end ---------------------------------------------------------------------------- -- Main function ---------------------------------------------------------------------------- p.main = makeInvokeFunc('_main') function p._main(args) --[[ -- This function defines logic flow for the module. -- @args - table of arguments passed by the user -- -- Messages: -- 'main-div-id' --> 'template-documentation' -- 'main-div-classes' --> 'template-documentation iezoomfix' --]] local env = p.getEnvironment(args) local root = mw.html.create() root :wikitext(p.protectionTemplate(env)) :wikitext(p.sandboxNotice(args, env)) -- This div tag is from {{documentation/start box}}, but moving it here -- so that we don't have to worry about unclosed tags. :tag('div') :attr('id', message('main-div-id')) :addClass(message('main-div-classes')) :newline() :wikitext(p._startBox(args, env)) :wikitext(p._content(args, env)) :tag('div') :css('clear', 'both') -- So right or left floating items don't stick out of the doc box. :newline() :done() :done() :wikitext(p._endBox(args, env)) :wikitext(p.addTrackingCategories(env)) return tostring(root) end ---------------------------------------------------------------------------- -- Environment settings ---------------------------------------------------------------------------- function p.getEnvironment(args) --[[ -- Returns a table with information about the environment, including title objects and other namespace- or -- path-related data. -- @args - table of arguments passed by the user -- -- Title objects include: -- env.title - the page we are making documentation for (usually the current title) -- env.templateTitle - the template (or module, file, etc.) -- env.docTitle - the /doc subpage. -- env.sandboxTitle - the /sandbox subpage. -- env.testcasesTitle - the /testcases subpage. -- env.printTitle - the print version of the template, located at the /Print subpage. -- -- Data includes: -- env.protectionLevels - the protection levels table of the title object. -- env.subjectSpace - the number of the title's subject namespace. -- env.docSpace - the number of the namespace the title puts its documentation in. -- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace. -- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template. -- -- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value -- returned will be nil. --]] local env, envFuncs = {}, {} -- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value -- returned by that function is memoized in the env table so that we don't call any of the functions -- more than once. (Nils won't be memoized.) setmetatable(env, { __index = function (t, key) local envFunc = envFuncs[key] if envFunc then local success, val = pcall(envFunc) if success then env[key] = val -- Memoise the value. return val end end return nil end }) function envFuncs.title() -- The title object for the current page, or a test page passed with args.page. local title local titleArg = args.page if titleArg then title = mw.title.new(titleArg) else title = mw.title.getCurrentTitle() end return title end function envFuncs.templateTitle() --[[ -- The template (or module, etc.) title object. -- Messages: -- 'sandbox-subpage' --> 'sandbox' -- 'testcases-subpage' --> 'testcases' --]] local subjectSpace = env.subjectSpace local title = env.title local subpage = title.subpageText if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then return mw.title.makeTitle(subjectSpace, title.baseText) else return mw.title.makeTitle(subjectSpace, title.text) end end function envFuncs.docTitle() --[[ -- Title object of the /doc subpage. -- Messages: -- 'doc-subpage' --> 'doc' --]] local title = env.title local docname = args[1] -- User-specified doc page. local docpage if docname then docpage = docname else docpage = env.docpageBase .. '/' .. message('doc-subpage') end return mw.title.new(docpage) end function envFuncs.sandboxTitle() --[[ -- Title object for the /sandbox subpage. -- Messages: -- 'sandbox-subpage' --> 'sandbox' --]] return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage')) end function envFuncs.testcasesTitle() --[[ -- Title object for the /testcases subpage. -- Messages: -- 'testcases-subpage' --> 'testcases' --]] return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage')) end function envFuncs.printTitle() --[[ -- Title object for the /Print subpage. -- Messages: -- 'print-subpage' --> 'Print' --]] return env.templateTitle:subPageTitle(message('print-subpage')) end function envFuncs.protectionLevels() -- The protection levels table of the title object. return env.title.protectionLevels end function envFuncs.subjectSpace() -- The subject namespace number. return mw.site.namespaces[env.title.namespace].subject.id end function envFuncs.docSpace() -- The documentation namespace number. For most namespaces this is the same as the -- subject namespace. However, pages in the Article, File, MediaWiki or Category -- namespaces must have their /doc, /sandbox and /testcases pages in talk space. local subjectSpace = env.subjectSpace if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then return subjectSpace + 1 else return subjectSpace end end function envFuncs.docpageBase() -- The base page of the /doc, /sandbox, and /testcases subpages. -- For some namespaces this is the talk page, rather than the template page. local templateTitle = env.templateTitle local docSpace = env.docSpace local docSpaceText = mw.site.namespaces[docSpace].name -- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon. return docSpaceText .. ':' .. templateTitle.text end function envFuncs.compareUrl() -- Diff link between the sandbox and the main template using [[Special:ComparePages]]. local templateTitle = env.templateTitle local sandboxTitle = env.sandboxTitle if templateTitle.exists and sandboxTitle.exists then local compareUrl = mw.uri.fullUrl( 'Special:ComparePages', {page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText} ) return tostring(compareUrl) else return nil end end return env end ---------------------------------------------------------------------------- -- Auxiliary templates ---------------------------------------------------------------------------- function p.sandboxNotice(args, env) --[=[ -- Generates a sandbox notice for display above sandbox pages. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'sandbox-notice-image' --> '[[Image:Sandbox.svg|50px|alt=|link=]]' -- 'sandbox-notice-blurb' --> 'This is the $1 for $2.' -- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).' -- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' -- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page' -- 'sandbox-notice-pagetype-other' --> 'sandbox page' -- 'sandbox-notice-compare-link-display' --> 'diff' -- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.' -- 'sandbox-notice-testcases-link-display' --> 'test cases' -- 'sandbox-category' --> 'Template sandboxes' --]=] local title = env.title local sandboxTitle = env.sandboxTitle local templateTitle = env.templateTitle local subjectSpace = env.subjectSpace if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then return nil end -- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text". local omargs = {} omargs.image = message('sandbox-notice-image') -- Get the text. We start with the opening blurb, which is something like -- "This is the template sandbox for [[Template:Foo]] (diff)." local text = '' local frame = mw.getCurrentFrame() local isPreviewing = frame:preprocess('{{REVISIONID}}') == '' -- True if the page is being previewed. local pagetype if subjectSpace == 10 then pagetype = message('sandbox-notice-pagetype-template') elseif subjectSpace == 828 then pagetype = message('sandbox-notice-pagetype-module') else pagetype = message('sandbox-notice-pagetype-other') end local templateLink = makeWikilink(templateTitle.prefixedText) local compareUrl = env.compareUrl if isPreviewing or not compareUrl then text = text .. message('sandbox-notice-blurb', {pagetype, templateLink}) else local compareDisplay = message('sandbox-notice-compare-link-display') local compareLink = makeUrlLink(compareUrl, compareDisplay) text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink}) end -- Get the test cases page blurb if the page exists. This is something like -- "See also the companion subpage for [[Template:Foo/testcases|test cases]]." local testcasesTitle = env.testcasesTitle if testcasesTitle and testcasesTitle.exists then if testcasesTitle.namespace == mw.site.namespaces.Module.id then local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display') local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display') local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay) local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay) text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink}) else local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display') local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay) text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink}) end end -- Add the sandbox to the sandbox category. text = text .. makeCategoryLink(message('sandbox-category')) omargs.text = text local ret = '<div style="clear: both;"></div>' ret = ret .. messageBox.main('ombox', omargs) return ret end function p.protectionTemplate(env) -- Generates the padlock icon in the top right. -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'protection-template' --> 'pp-template' -- 'protection-template-args' --> {docusage = 'yes'} local protectionLevels, mProtectionBanner local title = env.title protectionLevels = env.protectionLevels if not protectionLevels then return nil end local editProt = protectionLevels.edit and protectionLevels.edit[1] local moveProt = protectionLevels.move and protectionLevels.move[1] if editProt then -- The page is edit-protected. mProtectionBanner = require('Module:Protection banner') local reason = message('protection-reason-edit') return mProtectionBanner._main{reason, small = true} elseif moveProt and moveProt ~= 'autoconfirmed' then -- The page is move-protected but not edit-protected. Exclude move -- protection with the level "autoconfirmed", as this is equivalent to -- no move protection at all. mProtectionBanner = require('Module:Protection banner') return mProtectionBanner._main{action = 'move', small = true} else return nil end end ---------------------------------------------------------------------------- -- Start box ---------------------------------------------------------------------------- p.startBox = makeInvokeFunc('_startBox') function p._startBox(args, env) --[[ -- This function generates the start box. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make -- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox -- which generate the box HTML. --]] env = env or p.getEnvironment(args) local links local content = args.content if not content then -- No need to include the links if the documentation is on the template page itself. local linksData = p.makeStartBoxLinksData(args, env) if linksData then links = p.renderStartBoxLinks(linksData) end end -- Generate the start box html. local data = p.makeStartBoxData(args, env, links) if data then return p.renderStartBox(data) else -- User specified no heading. return nil end end function p.makeStartBoxLinksData(args, env) --[[ -- Does initial processing of data to make the [view] [edit] [history] [purge] links. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'view-link-display' --> 'view' -- 'edit-link-display' --> 'edit' -- 'history-link-display' --> 'history' -- 'purge-link-display' --> 'purge' -- 'file-docpage-preload' --> 'Template:Documentation/preload-filespace' -- 'module-preload' --> 'Template:Documentation/preload-module-doc' -- 'docpage-preload' --> 'Template:Documentation/preload' -- 'create-link-display' --> 'create' --]] local subjectSpace = env.subjectSpace local title = env.title local docTitle = env.docTitle if not title or not docTitle then return nil end local data = {} data.title = title data.docTitle = docTitle -- View, display, edit, and purge links if /doc exists. data.viewLinkDisplay = message('view-link-display') data.editLinkDisplay = message('edit-link-display') data.historyLinkDisplay = message('history-link-display') data.purgeLinkDisplay = message('purge-link-display') -- Create link if /doc doesn't exist. local preload = args.preload if not preload then if subjectSpace == 6 then -- File namespace preload = message('file-docpage-preload') elseif subjectSpace == 828 then -- Module namespace preload = message('module-preload') else preload = message('docpage-preload') end end data.preload = preload data.createLinkDisplay = message('create-link-display') return data end function p.renderStartBoxLinks(data) --[[ -- Generates the [view][edit][history][purge] or [create] links from the data table. -- @data - a table of data generated by p.makeStartBoxLinksData --]] local function escapeBrackets(s) -- Escapes square brackets with HTML entities. s = s:gsub('%[', '&#91;') -- Replace square brackets with HTML entities. s = s:gsub('%]', '&#93;') return s end local ret local docTitle = data.docTitle local title = data.title if docTitle.exists then local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay) local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay) local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay) local purgeLink = makeUrlLink(title:fullUrl{action = 'purge'}, data.purgeLinkDisplay) ret = '[%s] [%s] [%s] [%s]' ret = escapeBrackets(ret) ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink) else local createLink = makeUrlLink(docTitle:fullUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay) ret = '[%s]' ret = escapeBrackets(ret) ret = mw.ustring.format(ret, createLink) end return ret end function p.makeStartBoxData(args, env, links) --[=[ -- Does initial processing of data to pass to the start-box render function, p.renderStartBox. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error. -- -- Messages: -- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=Documentation icon]]' -- 'template-namespace-heading' --> 'Template documentation' -- 'module-namespace-heading' --> 'Module documentation' -- 'file-namespace-heading' --> 'Summary' -- 'other-namespaces-heading' --> 'Documentation' -- 'start-box-linkclasses' --> 'mw-editsection-like plainlinks' -- 'start-box-link-id' --> 'doc_editlinks' -- 'testcases-create-link-display' --> 'create' --]=] local subjectSpace = env.subjectSpace if not subjectSpace then -- Default to an "other namespaces" namespace, so that we get at least some output -- if an error occurs. subjectSpace = 2 end local data = {} -- Heading local heading = args.heading -- Blank values are not removed. if heading == '' then -- Don't display the start box if the heading arg is defined but blank. return nil end if heading then data.heading = heading elseif subjectSpace == 10 then -- Template namespace data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading') elseif subjectSpace == 828 then -- Module namespace data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading') elseif subjectSpace == 6 then -- File namespace data.heading = message('file-namespace-heading') else data.heading = message('other-namespaces-heading') end -- Heading CSS local headingStyle = args['heading-style'] if headingStyle then data.headingStyleText = headingStyle elseif subjectSpace == 10 then -- We are in the template or template talk namespaces. data.headingFontWeight = 'bold' data.headingFontSize = '125%' else data.headingFontSize = '150%' end -- Data for the [view][edit][history][purge] or [create] links. if links then data.linksClass = message('start-box-linkclasses') data.linksId = message('start-box-link-id') data.links = links end return data end function p.renderStartBox(data) -- Renders the start box html. -- @data - a table of data generated by p.makeStartBoxData. local sbox = mw.html.create('div') sbox :css('padding-bottom', '3px') :css('border-bottom', '1px solid #aaa') :css('margin-bottom', '1ex') :newline() :tag('span') :cssText(data.headingStyleText) :css('font-weight', data.headingFontWeight) :css('font-size', data.headingFontSize) :wikitext(data.heading) local links = data.links if links then sbox:tag('span') :addClass(data.linksClass) :attr('id', data.linksId) :wikitext(links) end return tostring(sbox) end ---------------------------------------------------------------------------- -- Documentation content ---------------------------------------------------------------------------- p.content = makeInvokeFunc('_content') function p._content(args, env) -- Displays the documentation contents -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment env = env or p.getEnvironment(args) local docTitle = env.docTitle local content = args.content if not content and docTitle and docTitle.exists then content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText} end -- The line breaks below are necessary so that "=== Headings ===" at the start and end -- of docs are interpreted correctly. return '\n' .. (content or '') .. '\n' end p.contentTitle = makeInvokeFunc('_contentTitle') function p._contentTitle(args, env) env = env or p.getEnvironment(args) local docTitle = env.docTitle if not args.content and docTitle and docTitle.exists then return docTitle.prefixedText else return '' end end ---------------------------------------------------------------------------- -- End box ---------------------------------------------------------------------------- p.endBox = makeInvokeFunc('_endBox') function p._endBox(args, env) --[=[ -- This function generates the end box (also known as the link box). -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'fmbox-id' --> 'documentation-meta-data' -- 'fmbox-style' --> 'background-color: #ecfcf4' -- 'fmbox-textstyle' --> 'font-style: italic' -- -- The HTML is generated by the {{fmbox}} template, courtesy of [[Module:Message box]]. --]=] -- Get environment data. env = env or p.getEnvironment(args) local subjectSpace = env.subjectSpace local docTitle = env.docTitle if not subjectSpace or not docTitle then return nil end -- Check whether we should output the end box at all. Add the end -- box by default if the documentation exists or if we are in the -- user, module or template namespaces. local linkBox = args['link box'] if linkBox == 'off' or not ( docTitle.exists or subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 ) then return nil end -- Assemble the arguments for {{fmbox}}. local fmargs = {} fmargs.id = message('fmbox-id') -- Sets 'documentation-meta-data' fmargs.image = 'none' fmargs.style = message('fmbox-style') -- Sets 'background-color: #ecfcf4' fmargs.textstyle = message('fmbox-textstyle') -- 'font-style: italic;' -- Assemble the fmbox text field. local text = '' if linkBox then text = text .. linkBox else text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]." if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then -- We are in the user, template or module namespaces. -- Add sandbox and testcases links. -- "Editors can experiment in this template's sandbox and testcases pages." text = text .. (p.makeExperimentBlurb(args, env) or '') text = text .. '<br />' if not args.content and not args[1] then -- "Please add categories to the /doc subpage." -- Don't show this message with inline docs or with an explicitly specified doc page, -- as then it is unclear where to add the categories. text = text .. (p.makeCategoriesBlurb(args, env) or '') end text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template" local printBlurb = p.makePrintBlurb(args, env) -- Two-line blurb about print versions of templates. if printBlurb then text = text .. '<br />' .. printBlurb end end end fmargs.text = text return messageBox.main('fmbox', fmargs) end function p.makeDocPageBlurb(args, env) --[=[ -- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)". -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'edit-link-display' --> 'edit' -- 'history-link-display' --> 'history' -- 'transcluded-from-blurb' --> -- 'The above [[Wikipedia:Template documentation|documentation]] -- is [[Wikipedia:Transclusion|transcluded]] from $1.' -- 'module-preload' --> 'Template:Documentation/preload-module-doc' -- 'create-link-display' --> 'create' -- 'create-module-doc-blurb' --> -- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' --]=] local docTitle = env.docTitle if not docTitle then return nil end local ret if docTitle.exists then -- /doc exists; link to it. local docLink = makeWikilink(docTitle.prefixedText) local editUrl = docTitle:fullUrl{action = 'edit'} local editDisplay = message('edit-link-display') local editLink = makeUrlLink(editUrl, editDisplay) local historyUrl = docTitle:fullUrl{action = 'history'} local historyDisplay = message('history-link-display') local historyLink = makeUrlLink(historyUrl, historyDisplay) ret = message('transcluded-from-blurb', {docLink}) .. ' ' .. makeToolbar(editLink, historyLink) .. '<br />' elseif env.subjectSpace == 828 then -- /doc does not exist; ask to create it. local createUrl = docTitle:fullUrl{action = 'edit', preload = message('module-preload')} local createDisplay = message('create-link-display') local createLink = makeUrlLink(createUrl, createDisplay) ret = message('create-module-doc-blurb', {createLink}) .. '<br />' end return ret end function p.makeExperimentBlurb(args, env) --[[ -- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages." -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'sandbox-link-display' --> 'sandbox' -- 'sandbox-edit-link-display' --> 'edit' -- 'compare-link-display' --> 'diff' -- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox' -- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox' -- 'sandbox-create-link-display' --> 'create' -- 'mirror-edit-summary' --> 'Create sandbox version of $1' -- 'mirror-link-display' --> 'mirror' -- 'mirror-link-preload' --> 'Template:Documentation/mirror' -- 'sandbox-link-display' --> 'sandbox' -- 'testcases-link-display' --> 'testcases' -- 'testcases-edit-link-display'--> 'edit' -- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox' -- 'testcases-create-link-display' --> 'create' -- 'testcases-link-display' --> 'testcases' -- 'testcases-edit-link-display' --> 'edit' -- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases' -- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases' -- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.' -- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.' --]] local subjectSpace = env.subjectSpace local templateTitle = env.templateTitle local sandboxTitle = env.sandboxTitle local testcasesTitle = env.testcasesTitle local templatePage = templateTitle.prefixedText if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then return nil end -- Make links. local sandboxLinks, testcasesLinks if sandboxTitle.exists then local sandboxPage = sandboxTitle.prefixedText local sandboxDisplay = message('sandbox-link-display') local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay) local sandboxEditUrl = sandboxTitle:fullUrl{action = 'edit'} local sandboxEditDisplay = message('sandbox-edit-link-display') local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay) local compareUrl = env.compareUrl local compareLink if compareUrl then local compareDisplay = message('compare-link-display') compareLink = makeUrlLink(compareUrl, compareDisplay) end sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink) else local sandboxPreload if subjectSpace == 828 then sandboxPreload = message('module-sandbox-preload') else sandboxPreload = message('template-sandbox-preload') end local sandboxCreateUrl = sandboxTitle:fullUrl{action = 'edit', preload = sandboxPreload} local sandboxCreateDisplay = message('sandbox-create-link-display') local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay) local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)}) local mirrorPreload = message('mirror-link-preload') local mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary} local mirrorDisplay = message('mirror-link-display') local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay) sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink) end if testcasesTitle.exists then local testcasesPage = testcasesTitle.prefixedText local testcasesDisplay = message('testcases-link-display') local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay) local testcasesEditUrl = testcasesTitle:fullUrl{action = 'edit'} local testcasesEditDisplay = message('testcases-edit-link-display') local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay) testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink) else local testcasesPreload if subjectSpace == 828 then testcasesPreload = message('module-testcases-preload') else testcasesPreload = message('template-testcases-preload') end local testcasesCreateUrl = testcasesTitle:fullUrl{action = 'edit', preload = testcasesPreload} local testcasesCreateDisplay = message('testcases-create-link-display') local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay) testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink) end local messageName if subjectSpace == 828 then messageName = 'experiment-blurb-module' else messageName = 'experiment-blurb-template' end return message(messageName, {sandboxLinks, testcasesLinks}) end function p.makeCategoriesBlurb(args, env) --[[ -- Generates the text "Please add categories to the /doc subpage." -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'doc-link-display' --> '/doc' -- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.' --]] local docTitle = env.docTitle if not docTitle then return nil end local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display')) return message('add-categories-blurb', {docPathLink}) end function p.makeSubpagesBlurb(args, env) --[[ -- Generates the "Subpages of this template" link. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'template-pagetype' --> 'template' -- 'module-pagetype' --> 'module' -- 'default-pagetype' --> 'page' -- 'subpages-link-display' --> 'Subpages of this $1' --]] local subjectSpace = env.subjectSpace local templateTitle = env.templateTitle if not subjectSpace or not templateTitle then return nil end local pagetype if subjectSpace == 10 then pagetype = message('template-pagetype') elseif subjectSpace == 828 then pagetype = message('module-pagetype') else pagetype = message('default-pagetype') end local subpagesLink = makeWikilink( 'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/', message('subpages-link-display', {pagetype}) ) return message('subpages-blurb', {subpagesLink}) end function p.makePrintBlurb(args, env) --[=[ -- Generates the blurb displayed when there is a print version of the template available. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'print-link-display' --> '/Print' -- 'print-blurb' --> 'A [[Help:Books/for experts#Improving the book layout|print version]]' -- .. ' of this template exists at $1.' -- .. ' If you make a change to this template, please update the print version as well.' -- 'display-print-category' --> true -- 'print-category' --> 'Templates with print versions' --]=] local printTitle = env.printTitle if not printTitle then return nil end local ret if printTitle.exists then local printLink = makeWikilink(printTitle.prefixedText, message('print-link-display')) ret = message('print-blurb', {printLink}) local displayPrintCategory = message('display-print-category', nil, 'boolean') if displayPrintCategory then ret = ret .. makeCategoryLink(message('print-category')) end end return ret end ---------------------------------------------------------------------------- -- Tracking categories ---------------------------------------------------------------------------- function p.addTrackingCategories(env) --[[ -- Check if {{documentation}} is transcluded on a /doc or /testcases page. -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'display-strange-usage-category' --> true -- 'doc-subpage' --> 'doc' -- 'testcases-subpage' --> 'testcases' -- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage' -- -- /testcases pages in the module namespace are not categorised, as they may have -- {{documentation}} transcluded automatically. --]] local title = env.title local subjectSpace = env.subjectSpace if not title or not subjectSpace then return nil end local subpage = title.subpageText local ret = '' if message('display-strange-usage-category', nil, 'boolean') and ( subpage == message('doc-subpage') or subjectSpace ~= 828 and subpage == message('testcases-subpage') ) then ret = ret .. makeCategoryLink(message('strange-usage-category')) end return ret end return p 9f2f8f9fddcbfb92901590928f746e53a1eb18aa Module:Infobox 828 9 10 2019-12-18T18:02:34Z Rubikia 30444800 Created page with "-- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function union(t1..." Scribunto text/plain -- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function union(t1, t2) -- Returns the union of the values of two tables, as a sequence. local vals = {} for k, v in pairs(t1) do vals[v] = true end for k, v in pairs(t2) do vals[v] = true end local ret = {} for k, v in pairs(vals) do table.insert(ret, k) end return ret end local function getArgNums(prefix) -- Returns a table containing the numbers of the arguments that exist -- for the specified prefix. For example, if the prefix was 'data', and -- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}. local nums = {} for k, v in pairs(args) do local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$') if num then table.insert(nums, tonumber(num)) end end table.sort(nums) return nums end local function addRow(rowArgs) -- Adds a row to the infobox, with either a header cell -- or a label/data cell combination. if rowArgs.header then root :tag('tr') :addClass(rowArgs.rowclass) :cssText(rowArgs.rowstyle) :attr('id', rowArgs.rowid) :tag('th') :attr('colspan', 2) :attr('id', rowArgs.headerid) :addClass(rowArgs.class) :addClass(args.headerclass) :css('text-align', 'center') :cssText(args.headerstyle) :wikitext(rowArgs.header) elseif rowArgs.data then local row = root:tag('tr') row:addClass(rowArgs.rowclass) row:cssText(rowArgs.rowstyle) row:attr('id', rowArgs.rowid) if rowArgs.label then row :tag('th') :attr('scope', 'row') :attr('id', rowArgs.labelid) :cssText(args.labelstyle) :wikitext(rowArgs.label) :done() end local dataCell = row:tag('td') if not rowArgs.label then dataCell :attr('colspan', 2) :css('text-align', 'center') end dataCell :attr('id', rowArgs.dataid) :addClass(rowArgs.class) :cssText(rowArgs.datastyle) :newline() :wikitext(rowArgs.data) end end local function renderTitle() if not args.title then return end root :tag('caption') :addClass(args.titleclass) :cssText(args.titlestyle) :wikitext(args.title) end local function renderAboveRow() if not args.above then return end root :tag('tr') :tag('th') :attr('colspan', 2) :addClass(args.aboveclass) :css('text-align', 'center') :css('font-size', '125%') :css('font-weight', 'bold') :cssText(args.abovestyle) :wikitext(args.above) end local function renderBelowRow() if not args.below then return end root :tag('tr') :tag('td') :attr('colspan', '2') :addClass(args.belowclass) :css('text-align', 'center') :cssText(args.belowstyle) :newline() :wikitext(args.below) end local function renderSubheaders() if args.subheader then args.subheader1 = args.subheader end if args.subheaderrowclass then args.subheaderrowclass1 = args.subheaderrowclass end local subheadernums = getArgNums('subheader') for k, num in ipairs(subheadernums) do addRow({ data = args['subheader' .. tostring(num)], datastyle = args.subheaderstyle or args['subheaderstyle' .. tostring(num)], class = args.subheaderclass, rowclass = args['subheaderrowclass' .. tostring(num)] }) end end local function renderImages() if args.image then args.image1 = args.image end if args.caption then args.caption1 = args.caption end local imagenums = getArgNums('image') for k, num in ipairs(imagenums) do local caption = args['caption' .. tostring(num)] local data = mw.html.create():wikitext(args['image' .. tostring(num)]) if caption then data :tag('div') :cssText(args.captionstyle) :wikitext(caption) end addRow({ data = tostring(data), datastyle = args.imagestyle, class = args.imageclass, rowclass = args['imagerowclass' .. tostring(num)] }) end end local function renderRows() -- Gets the union of the header and data argument numbers, -- and renders them all in order using addRow. local rownums = union(getArgNums('header'), getArgNums('data')) table.sort(rownums) for k, num in ipairs(rownums) do addRow({ header = args['header' .. tostring(num)], label = args['label' .. tostring(num)], data = args['data' .. tostring(num)], datastyle = args.datastyle, class = args['class' .. tostring(num)], rowclass = args['rowclass' .. tostring(num)], rowstyle = args['rowstyle' .. tostring(num)], dataid = args['dataid' .. tostring(num)], labelid = args['labelid' .. tostring(num)], headerid = args['headerid' .. tostring(num)], rowid = args['rowid' .. tostring(num)] }) end end local function renderNavBar() if not args.name then return end root :tag('tr') :tag('td') :attr('colspan', '2') :css('text-align', 'right') :wikitext(navbar{ args.name, mini = 1, }) end local function renderItalicTitle() local italicTitle = args['italic title'] and mw.ustring.lower(args['italic title']) if italicTitle == '' or italicTitle == 'force' or italicTitle == 'yes' then root:wikitext(mw.getCurrentFrame():expandTemplate({title = 'italic title'})) end end local function renderTrackingCategories() if args.decat ~= 'yes' then if #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then root:wikitext('[[Category:Articles which use infobox templates with no data rows]]') end if args.child == 'yes' and args.title then root:wikitext('[[Category:Pages which use embedded infobox templates with the title parameter]]') end end end local function _infobox() -- Specify the overall layout of the infobox, with special settings -- if the infobox is used as a 'child' inside another infobox. if args.child ~= 'yes' then root = mw.html.create('table') root :addClass('infobox') :addClass(args.bodyclass) if args.subbox == 'yes' then root :css('padding', '0') :css('border', 'none') :css('margin', '-3px') :css('width', 'auto') :css('min-width', '100%') :css('font-size', '100%') :css('clear', 'none') :css('float', 'none') :css('background-color', 'transparent') else root :css('width', '22em') end root :cssText(args.bodystyle) renderTitle() renderAboveRow() else root = mw.html.create() root :wikitext(args.title) end renderSubheaders() renderImages() renderRows() renderBelowRow() renderNavBar() renderItalicTitle() renderTrackingCategories() return tostring(root) end local function preprocessSingleArg(argName) -- If the argument exists and isn't blank, add it to the argument table. -- Blank arguments are treated as nil to match the behaviour of ParserFunctions. if origArgs[argName] and origArgs[argName] ~= '' then args[argName] = origArgs[argName] end end local function preprocessArgs(prefixTable, step) -- Assign the parameters with the given prefixes to the args table, in order, in batches -- of the step size specified. This is to prevent references etc. from appearing in the -- wrong order. The prefixTable should be an array containing tables, each of which has -- two possible fields, a "prefix" string and a "depend" table. The function always parses -- parameters containing the "prefix" string, but only parses parameters in the "depend" -- table if the prefix parameter is present and non-blank. if type(prefixTable) ~= 'table' then error("Non-table value detected for the prefix table", 2) end if type(step) ~= 'number' then error("Invalid step value detected", 2) end -- Get arguments without a number suffix, and check for bad input. for i,v in ipairs(prefixTable) do if type(v) ~= 'table' or type(v.prefix) ~= "string" or (v.depend and type(v.depend) ~= 'table') then error('Invalid input detected to preprocessArgs prefix table', 2) end preprocessSingleArg(v.prefix) -- Only parse the depend parameter if the prefix parameter is present and not blank. if args[v.prefix] and v.depend then for j, dependValue in ipairs(v.depend) do if type(dependValue) ~= 'string' then error('Invalid "depend" parameter value detected in preprocessArgs') end preprocessSingleArg(dependValue) end end end -- Get arguments with number suffixes. local a = 1 -- Counter variable. local moreArgumentsExist = true while moreArgumentsExist == true do moreArgumentsExist = false for i = a, a + step - 1 do for j,v in ipairs(prefixTable) do local prefixArgName = v.prefix .. tostring(i) if origArgs[prefixArgName] then moreArgumentsExist = true -- Do another loop if any arguments are found, even blank ones. preprocessSingleArg(prefixArgName) end -- Process the depend table if the prefix argument is present and not blank, or -- we are processing "prefix1" and "prefix" is present and not blank, and -- if the depend table is present. if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then for j,dependValue in ipairs(v.depend) do local dependArgName = dependValue .. tostring(i) preprocessSingleArg(dependArgName) end end end end a = a + step end end function p.infobox(frame) -- If called via #invoke, use the args passed into the invoking template. -- Otherwise, for testing purposes, assume args are being passed directly in. if frame == mw.getCurrentFrame() then origArgs = frame:getParent().args else origArgs = frame end -- Parse the data parameters in the same order that the old {{infobox}} did, so that -- references etc. will display in the expected places. Parameters that depend on -- another parameter are only processed if that parameter is present, to avoid -- phantom references appearing in article reference lists. preprocessSingleArg('child') preprocessSingleArg('bodyclass') preprocessSingleArg('subbox') preprocessSingleArg('bodystyle') preprocessSingleArg('title') preprocessSingleArg('titleclass') preprocessSingleArg('titlestyle') preprocessSingleArg('above') preprocessSingleArg('aboveclass') preprocessSingleArg('abovestyle') preprocessArgs({ {prefix = 'subheader', depend = {'subheaderstyle', 'subheaderrowclass'}} }, 10) preprocessSingleArg('subheaderstyle') preprocessSingleArg('subheaderclass') preprocessArgs({ {prefix = 'image', depend = {'caption', 'imagerowclass'}} }, 10) preprocessSingleArg('captionstyle') preprocessSingleArg('imagestyle') preprocessSingleArg('imageclass') preprocessArgs({ {prefix = 'header'}, {prefix = 'data', depend = {'label'}}, {prefix = 'rowclass'}, {prefix = 'rowstyle'}, {prefix = 'class'}, {prefix = 'dataid'}, {prefix = 'labelid'}, {prefix = 'headerid'}, {prefix = 'rowid'} }, 50) preprocessSingleArg('headerclass') preprocessSingleArg('headerstyle') preprocessSingleArg('labelstyle') preprocessSingleArg('datastyle') preprocessSingleArg('below') preprocessSingleArg('belowclass') preprocessSingleArg('belowstyle') preprocessSingleArg('name') args['italic title'] = origArgs['italic title'] -- different behaviour if blank or absent preprocessSingleArg('decat') return _infobox() end return p 3507df5b4527aecfec0b000e06a05c3fa3264a88 Module:Navbar 828 10 11 2019-12-18T18:05:00Z Rubikia 30444800 Created page with "local p = {} local getArgs local ul function p.addItem (mini, full, link, descrip, args, url) local l if url then l = {'[', '', ']'} else l = {'[[', '|', ']]'} end..." Scribunto text/plain local p = {} local getArgs local ul function p.addItem (mini, full, link, descrip, args, url) local l if url then l = {'[', '', ']'} else l = {'[[', '|', ']]'} end ul:tag('li') :addClass('nv-'..full) :wikitext(l[1] .. link .. l[2]) :tag(args.mini and 'abbr' or 'span') :attr('title', descrip..' this template') :cssText(args.fontstyle) :wikitext(args.mini and mini or full) :done() :wikitext(l[3]) end function p.brackets (position, c, args, div) if args.brackets then div :tag('span') :css('margin-'..position, '-0.125em') :cssText(args.fontstyle) :wikitext(c) end end function p._navbar(args) local show = {true, true, true, false, false, false} local titleArg = 1 if args.collapsible then titleArg = 2 if not args.plain then args.mini = 1 end if args.fontcolor then args.fontstyle = 'color:' .. args.fontcolor .. ';' end args.style = 'float:left; text-align:left' end if args.template then titleArg = 'template' show = {true, false, false, false, false, false} local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6} for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do local num = index[v] if num then show[num] = true end end end if args.noedit then show[3] = false end local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle()) local title = mw.title.new(mw.text.trim(titleText), 'Template') if not title then error('Invalid title ' .. titleText) end local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or '' local div = mw.html.create():tag('div') div :addClass('plainlinks') :addClass('hlist') :addClass('navbar') :cssText(args.style) if args.mini then div:addClass('mini') end if not (args.mini or args.plain) then div :tag('span') :css('word-spacing', 0) :cssText(args.fontstyle) :wikitext(args.text or 'This box:') :wikitext(' ') end p.brackets('right', '&#91; ', args, div) ul = div:tag('ul') if show[1] then p.addItem('v', 'view', title.fullText, 'View', args) end if show[2] then p.addItem('t', 'talk', talkpage, 'Discuss', args) end if show[3] then p.addItem('e', 'edit', title:fullUrl('action=edit'), 'Edit', args, true) end if show[4] then p.addItem('h', 'hist', title:fullUrl('action=history'), 'History of', args, true) end if show[5] then local move = mw.title.new ('Special:Movepage') p.addItem('m', 'move', move:fullUrl('target='..title.fullText), 'Move', args, true) end if show[6] then p.addItem('w', 'watch', title:fullUrl('action=watch'), 'Watch', args, true) end p.brackets('left', ' &#93;', args, div) if args.collapsible then div :done() :tag('div') :css('font-size', '114%') :css('margin', args.mini and '0 4em' or '0 7em') :cssText(args.fontstyle) :wikitext(args[1]) end return tostring(div:done()) end function p.navbar(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._navbar(getArgs(frame)) end return p 04f3b81927127526bd5d8bda44128b559fc97d0d Template:Documentation 10 11 12 2019-12-18T18:05:57Z Rubikia 30444800 Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noi..." wikitext text/x-wiki {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude> ce7fd93f18c46b4fa871bf679afd05cbda72d8c4 Template:Infobox country 10 12 13 2019-12-18T18:07:55Z Rubikia 30444800 Created page with " <table class="infobox geography vcard" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px;" font-size:88%;"><!-- ===============================..." wikitext text/x-wiki <table class="infobox geography vcard" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px;" font-size:88%;"><!-- ============================================================ Names ============================================================ -->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | <tr class="adr"> <th colspan="3" align="center" class="mergedtoprow" style="padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;"><!-- -->{{#if:{{{conventional_long_name|}}} |<span class=" fn org country-name">{{{conventional_long_name|}}}</span><br/><!-- -->}}<!-- -->{{#if:{{{native_name|}}}{{{name|}}} |<div style="padding-top:0.25em;"><!-- -->{{br separated entries |{{{native_name|}}} |{{#if:{{{name|}}} |<span class="fn org country-name">{{{name|}}}</span><!-- -->}}}}<!-- --></div><!-- -->}}<!-- -->{{#ifeq:{{{micronation|}}}|yes |<span class=" fn org">[[Micronation]]</span><!-- -->|}}<!-- --></th> </tr><!-- -->}}<!-- ============================================================ Flag / Coat-of-arms (or other symbol) ============================================================ -->{{#if:{{{image_flag|}}} |<!---------------------------------------------------- Flag provided, so display it and coat-of-arms (or other symbol) if provided: ---------------------------------------------------- --><tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- ------------------------------------------------ Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. ------------------------------------------------ --><table align="center" style="width:100%;background:none;"><!-- -----------Image/s----------- --><tr> <td align="center" style="{{#if:{{{image_coat|}}}{{{image_symbol|}}} | {{#if:{{{flag_width|}}} |width:{{{flag_width}}}; |width:58%;<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)-->}}<!-- -->}} vertical-align:middle;"><!-- -->[[File:{{{image_flag}}}|125px|border|alt={{{alt_flag|}}}|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- -->{{#if:{{{image_flag2|}}} | [[File:{{{image_flag2}}}|125px|border|alt={{{alt_flag2|}}}]]}}<!-- --></td> {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td align="center" style="width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- --></td> }} </tr><!-- ----------Caption/s---------- --><tr> {{#if:{{{common_name|}}}{{{linking_name|}}}{{{name|}}} | <td align="center" style="font-size:85%;">{{#ifexist:Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{flag_caption|Flag}}}]] |Flag }}</td> }} {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td align="center" style="font-size:85%;">{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]] |{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}</td> }} </tr><!-- ------end subtable:------ --></table> </td> </tr><!-- -->|<!----------------------------------------------------- Flag not provided, so display coat-of-arms or other symbol (if provided): ------------------------------------------------------ -->{{#if:{{{image_coat|}}}{{{image_symbol|}}} | <tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- ---------------------------------------------- Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. ---------------------------------------------- --><table align="center" style="width:100%;background:none;"><!-- -----------Image----------- --><tr> <td align="center" style="width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]</td> </tr><!-- ----------Caption---------- --><tr> <td align="center" style="font-size:85%;"><!-- -->{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]]}}<!-- --></td> </tr><!-- ------end subtable:------- --></table> </td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Motto ============================================================ -->{{#if:{{{national_motto|}}}{{{motto|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->'''Motto:&nbsp;'''{{{motto|{{{national_motto|}}}}}}<!-- -->{{#if:{{{englishmotto|}}}|<br/>{{small|{{{englishmotto}}} }} }}</td> </tr><!-- -->}}<!-- ============================================================ Anthem/s ============================================================ -->{{#if:{{{national_anthem|}}}{{{anthem|}}}{{{royal_anthem|}}} | <tr> <td class="anthem" colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{national_anthem|}}}{{{anthem|}}} |'''Anthem:&nbsp;'''{{{national_anthem|{{{anthem|}}}}}} }}<!-- -->{{#if:{{{royal_anthem|}}} | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!-- -->'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Other symbol/s ============================================================ -->{{#if:{{{other_symbol|}}}{{{text_symbol|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{other_symbol_type|}}}{{{text_symbol_type|}}} | '''{{{other_symbol_type|{{{text_symbol_type|}}}}}}'''<br/>}}<!-- -->{{{other_symbol|}}}{{{text_symbol|}}}</td> </tr><!-- -->}}<!-- ============================================================ Maps ============================================================ -->{{#if:{{{image_map|}}} | <tr> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map}}}|center<!-- -->|{{{map_width|250px}}}<!-- -->|alt={{{alt_map|{{{map_caption|}}}}}}<!-- -->|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!-- -->]]<!-- --><div style="padding:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption|}}}</div> </td> </tr><!-- -->}}<!-- -->{{#if:{{{image_map2|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map2}}}|center<!-- -->|{{{map2_width|280px}}}<!-- -->|alt={{{alt_map2|{{{map_caption2|}}}}}}<!-- -->|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption2|}}}</div> </td> </tr><!-- -->}}<!-- ============================================================ Status ============================================================ -->{{#if:{{{status|}}} | <tr> <td colspan="2">'''Status''' </td> <td>{{{status}}}</td> </tr><!-- -->}}<!-- ============================================================ Location ============================================================ -->{{#if:{{{loctext|}}} | <tr> <td colspan="2">'''Location''' </td> <td>{{{loctext}}}</td> </tr><!-- -->}}<!-- ============================================================ Capital/Admin center; Largest city/ies or settlement/s ============================================================ -->{{#if:{{{capital|}}}{{{admin_center|}}}{{{largest_city|}}}{{{largest_settlement|}}} | <tr class="mergedtoprow"><!-- -->{{#if:{{{capital|}}}{{{admin_center|}}} | <td colspan="2"><!-- -->{{#if:{{{admin_center_type|}}}{{{admin_center|}}} | '''{{{admin_center_type|Administrative&nbsp;center}}}'''<!-- -->| {{#if:{{{capital_type|}}} |'''{{{capital_type}}}''' |'''Capital'''}}<!-- -->}}<!-- ------------------------------------------------- If capital provided, check whether largest_city or largest_settlement (if provided) equals "capital", capital or [[capital]]: ------------------------------------------------- -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital |capital<!-- -->|{{#switch:{{{capital}}} | [[{{{largest_city|}}}{{{largest_settlement|}}}]] = capital | {{{largest_city|}}}{{{largest_settlement|}}} = capital | not capital }}<!-- -->}}|capital <!-- (#ifeq:)-->|<!------------------------------------------ capital is largest_city/_settlement: ------------------------------------------- --><br/>and {{{largest_settlement_type|largest city}}}<!-- --></td><!-- --------Add capital:-------- --><td>{{{capital}}}<!-- ---------Add capital's lat/longitude (if provided):--------- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:country<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- (#ifeq:)-->|<!------------------------------------------ capital isn't largest_city/_settlement: ------------------------------------------ --></td><!-- --------Add capital/admin center:-------- --><td>{{{capital|{{{admin_center|}}}}}}<!-- ----Add capital/admin center's lat/longitude (if provided):---- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:country<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- --------Add largest_city/_settlement (if provided):-------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | </tr> <tr class="mergedbottomrow"> <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- (#ifeq:)-->}}<!-- -->|<!------------------------------------------------- Capital not provided, so add largest_city/_settlement (if provided): -------------------------------------------------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Languages ============================================================ -->{{#if:{{{official_languages|}}} | <tr> <th colspan="2" style="white-space:nowrap;">Official languages</th> <td>{{{official_languages}}}</td> </tr><!-- -->{{#if:{{{recognized_languages|{{{recognised_languages|}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_languages|{{{recognised_languages}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages|}}}}}}}}} | <tr> <td colspan="2">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages|}}}}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------- Customizable language entries: -------- -->{{#if:{{{languages|}}} | <tr{{#ifeq:{{{languages2_sub|}}}|yes |{{#ifeq:{{{languages_sub|}}}|yes |<nowiki> </nowiki>class="mergedrow"|}} |{{#ifeq:{{{languages_sub|}}}|yes |<nowiki> </nowiki>class="mergedbottomrow"|}}<!-- -->}}> <{{#ifeq:{{{languages_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages_type}}}<!-- --></{{#ifeq:{{{languages_sub|}}}|yes |td |th}}> <td>{{{languages}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{languages2|}}} | <tr{{#ifeq:{{{languages2_sub|}}}|yes |<nowiki> </nowiki>class="mergedbottomrow"|}}> <{{#ifeq:{{{languages2_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages2_type}}}<!-- --></{{#ifeq:{{{languages2_sub|}}}|yes |td |th}}> <td>{{{languages2}}}</td> </tr><!-- -->}}<!-- ============================================================ Ethnic groups ============================================================ -->{{#if:{{{ethnic_groups|}}} | <tr> <td colspan="2">'''Ethnic&nbsp;groups''' <!-- -->{{#if:{{{ethnic_groups_year|}}} |({{{ethnic_groups_year}}})}}</td> <td>{{{ethnic_groups}}}</td> </tr><!-- -->}}<!-- ============================================================ Religion ============================================================ -->{{#if:{{{religion|}}} | <tr> <th colspan="2">Religion</th> <td style="vertical-align:middle;">{{{religion}}}</td> </tr><!-- -->}}<!-- ============================================================ Demonym ============================================================ -->{{#if:{{{demonym|}}} | <tr> <th colspan="2">Demonym</th> <td>{{#ifexist:{{{demonym}}} people | [[{{{demonym}}} people|{{{demonym}}}]] | {{{demonym}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Organization type / Membership (geopolitical org) ============================================================ -->{{#if:{{{org_type|}}} | <tr> <td colspan="2">'''Type'''</td> <td>{{{org_type}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{membership|}}} | <tr> <td colspan="2" style="vertical-align:middle;">'''{{{membership_type|Membership}}}'''</td> <td>{{{membership}}}</td> </tr><!-- -->}}<!-- ============================================================ Government heading(country/territory) Leaders heading (geopolitical organization) ============================================================ -->{{#if:{{{government_type|}}} | <tr> <th colspan="2"><!-- -->{{#if:{{{politics_link|}}} | [[{{{politics_link}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifexist:Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}<!-- -->}}<!-- -->}}<!-- --></th> <td>{{{government_type}}}</td> </tr><!-- -->|<!---------------------------------------------------- No government_type provided, so, if at least one leader provided, use "Leaders" (geopolitical org) or "Government" (country/territory): ----------------------------------------------------- -->{{#if:{{{leader_title1|}}}{{{leader_name1|}}} | {{#if:{{{name|}}}{{{membership|}}} <!--template being used for geopolitical org:--> | <tr><th colspan="3">Leaders</th></tr><!-- <!--template being used for country/territory: -->| <tr><th colspan="3">Government</th></tr><!-- -->}}<!-- -->}}<!-- -->}}<!-- ============================================================ Leaders ============================================================ -->{{#if:{{{leader_title1|}}} | <tr class="{{#if:{{{leader_title2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title1}}}</td> <td>{{{leader_name1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title2|}}} | <tr class="{{#if:{{{leader_title3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title2}}}</td> <td>{{{leader_name2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title3|}}} | <tr class="{{#if:{{{leader_title4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title3}}}</td> <td>{{{leader_name3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title4|}}} | <tr class="{{#if:{{{leader_title5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title4}}}</td> <td>{{{leader_name4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title5|}}} | <tr class="{{#if:{{{leader_title6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title5}}}</td> <td>{{{leader_name5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title6|}}} | <tr class="{{#if:{{{leader_title7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title6}}}</td> <td>{{{leader_name6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title7|}}} | <tr class="{{#if:{{{leader_title8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title7}}}</td> <td>{{{leader_name7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title8|}}} | <tr class="{{#if:{{{leader_title9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title8}}}</td> <td>{{{leader_name8}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title9|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title9}}}</td> <td>{{{leader_name9}}}</td> </tr><!-- -->}}<!-- ============================================================ Legislature ============================================================ -->{{#if:{{{legislature|}}} | <tr> <th colspan="2">Legislature</th> <td>{{{legislature}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{upper_house|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Upper house</td> <td>{{{upper_house}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{lower_house|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Lower house</td> <td>{{{lower_house}}}</td> </tr><!-- -->}}<!-- ============================================================ Sovereignty (country/territory) Establishment (geopolitical organization) ============================================================ -->{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}{{{established|}}} | <tr {{#if:{{{established_event1|}}} |class="mergedtoprow"}}><!-- ----------Sovereignty---------- -->{{#if:{{{sovereignty_type|}}} | <th colspan="3">{{{sovereignty_type}}}<!-- -->{{#if:{{{sovereignty_note|}}} |&nbsp;{{nobold|{{{sovereignty_note}}} }}}}<!-- --></th><!-- ---------Establishment---------- -->| {{#if:{{{established|}}} | <th colspan="2">Establishment</th> <td>{{{established}}}</td><!-- -->| <th colspan="3">Establishment</th><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Significant events in country/territory or organization's establishment ============================================================ -->{{#if:{{{established_event1|}}} | <tr class="{{#if:{{{established_event2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event1}}}</td> <td>{{{established_date1|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event2|}}} | <tr class="{{#if:{{{established_event3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event2}}}</td> <td>{{{established_date2|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event3|}}} | <tr class="{{#if:{{{established_event4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event3}}}</td> <td>{{{established_date3|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event4|}}} | <tr class="{{#if:{{{established_event5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event4}}}</td> <td>{{{established_date4|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event5|}}} | <tr class="{{#if:{{{established_event6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event5}}}</td> <td>{{{established_date5|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event6|}}} | <tr class="{{#if:{{{established_event7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event6}}}</td> <td>{{{established_date6|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event7|}}} | <tr class="{{#if:{{{established_event8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event7}}}</td> <td>{{{established_date7|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event8|}}} | <tr class="{{#if:{{{established_event9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event8}}}</td> <td>{{{established_date8|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event9|}}} | <tr class="{{#if:{{{established_event10|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event9}}}</td> <td>{{{established_date9|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event10|}}} | <tr class="{{#if:{{{established_event11|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event10}}}</td> <td>{{{established_date10|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event11|}}} | <tr class="{{#if:{{{established_event12|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event11}}}</td> <td>{{{established_date11|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event12|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event12}}}</td> <td>{{{established_date12|}}}&nbsp;</td> </tr><!-- -->}}<!-- ============================================================ Area (area_label, area_km2, area_label2, area_data2, ...) ============================================================ -->{{#if:{{{area_km2|{{{area_ha|}}}}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{area_link|}}} | [[{{{area_link}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | {{#ifexist:Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}<!-- -->}}<!-- -->}}<!-- --></th> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{{area_label|Total}}}<!-- ---France-related footnote:-->{{#if:{{{FR_foot4|}}} |{{{FR_foot4}}}}}</td> <td>{{formatnum:{{{area_km2|{{{area_ha|}}}}}}}}&nbsp;{{#if:{{{area_km2|}}} |km{{smallsup|2}} |ha }}<!-- -->{{#if:{{{area_footnote|}}} |{{{area_footnote}}} }}<!-- -->{{#if:{{{area_rank|}}} |&#32;([[List of countries and dependencies by area|{{{area_rank}}}]]) }}<!-- -->{{#if:{{{area_sq_mi|}}} |<br/>{{formatnum:{{{area_sq_mi}}}}}&nbsp;sq&nbsp;mi<!-- -->|<br/>{{#if:{{{area_acre|}}} |{{formatnum:{{{area_acre}}}}}&nbsp;acre{{#ifexpr:{{{area_acre}}}=1||s}} |{{#if:{{{area_km2|}}} |{{formatnum:<!-- -->{{#expr:{{{area_km2|}}} div 2.589988110336 round 0}}}}&nbsp;sq&nbsp;mi |{{formatnum:<!-- -->{{#expr:{{{area_ha|}}} div 0.4046856422 round 0}}}}&nbsp;acres }} }}<!-- -->}}</td> </tr><!-- -->}}<!-- -------------------Percentage water-------------------- -->{{#if:{{{percent_water|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Water&nbsp;(%)</td> <td>{{{percent_water}}}</td> </tr><!-- -->}}<!-- ------------------Area 2 (customized)------------------- -->{{#if:{{{area_label2|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{area_label2|}}}</td> <td>{{{area_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Area 3 (customized)------------------- -->{{#if:{{{area_label3|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{area_label3|}}}</td> <td>{{{area_data3|}}}</td> </tr><!-- -->}}<!-- -----------Areas of France----------- -->{{#if:{{{FR_metropole|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td colspan="2" style="padding-left:0;">{{{FR_metropole}}}</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;-&nbsp;[[Institut Géographique National|IGN]]{{{FR_foot2|}}}</td> <td>{{formatnum:{{{FR_IGN_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_IGN_area_rank|}}}]])<!-- -->{{#if:{{{FR_IGN_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_IGN_area_sq_mi|}}}}}<!-- -->|<br/>{{formatnum:{{#expr:{{{FR_IGN_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;-&nbsp;[[Cadastre]]{{{FR_foot3|}}}</td> <td>{{formatnum:{{{FR_cadastre_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_cadastre_area_rank|}}}]])<!-- -->{{#if:{{{FR_cadastre_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_cadastre_area_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{FR_cadastre_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr><!-- -->}}<!-- ============================================================ Population ============================================================ -->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{population_link|}}} | [[{{{population_link}}}|Population]]<!-- -->| {{#ifexist:Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Population]]<!-- -->| Population<!-- -->}}<!-- -->}}<!-- --></th> </tr><!-- ---------------Estimate--------------- -->{{#if:{{{population_estimate|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_estimate_year|}}} |{{{population_estimate_year}}}&nbsp;}}<!-- -->estimate</td> <td>{{{population_estimate}}}<!-- -->{{#if:{{{population_estimate_rank|}}} |&#32;([[List of countries by population|{{{population_estimate_rank}}}]])}}</td> </tr><!-- -->}}<!-- ------------------Population 2 (customized)------------------- -->{{#if:{{{population_label2|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{population_label2|}}}</td> <td>{{{population_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Population 3 (customized)------------------- -->{{#if:{{{population_label3|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{population_label3|}}}</td> <td>{{{population_data3|}}}</td> </tr><!-- -->}}<!-- ----------------Census---------------- -->{{#if:{{{population_census|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_census_year|}}} |{{{population_census_year}}}&nbsp;}}<!-- -->census</td> <td>{{{population_census|}}}<!-- -->{{#if:{{{population_census_rank|}}} |&#32;([[List of countries by population|{{{population_census_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------(France)------- -->{{#if:{{{FR_metropole_population|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td colspan="2" style="padding-left:0;">({{{FR_total_population_estimate_year}}})</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total{{{FR_foot}}}</td> <td>{{{FR_total_population_estimate}}}&#32;([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{FR_metropole}}}</td> <td>{{{FR_metropole_population}}}&#32;([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])</td> </tr><!-- -->}}<!-- ---------------Density---------------- -->{{#if:{{{population_density_km2|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Density<!-- ---France-related footnote:-->{{#if:{{{FR_foot5|}}} |{{{FR_foot5}}}}}</td> <td>{{{population_density_km2|}}}/km{{smallsup|2}}<!-- -->{{#if:{{{pop_den_footnote|}}} |{{{pop_den_footnote|}}}}}<!-- -->{{#if:{{{population_density_rank|}}} |&#32;([[List of sovereign states and dependent territories by population density|{{{population_density_rank}}}]])}}<!-- -->{{#if:{{{population_density_sq_mi|}}} |<br/>{{formatnum:{{{population_density_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{population_density_km2|}}} * 2.589988110336 round 1}}}}<!-- -->}}/sq&nbsp;mi</td> </tr><!-- -->}}<!-- -->{{#if:{{{nummembers|}}}<!-- -->| {{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedbottomrow"> | <tr class="mergedtoprow">}} <th colspan="2">Membership</th> <td style="vertical-align:middle;">{{{nummembers}}}</td> </tr><!-- -->}}<!-- ============================================================ GDP ============================================================ -----------------PPP----------------- -->{{#if:{{{GDP_PPP|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]'''&nbsp;([[Purchasing power parity|PPP]])</td> <td>{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_PPP}}}<!-- -->{{#if:{{{GDP_PPP_rank|}}} |&#32;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])}}</td> </tr><!-- -------(PPP per capita)------- -->{{#if:{{{GDP_PPP_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_PPP_per_capita}}}<!-- -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ---------------Nominal--------------- -->{{#if:{{{GDP_nominal|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} GDP'''&nbsp;(nominal)</td> <td>{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_nominal}}}<!-- -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}</td> </tr><!-- -------(Nominal per capita)------- -->{{#if:{{{GDP_nominal_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_nominal_per_capita}}}<!-- -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Gini ============================================================ -->{{#if:{{{Gini|}}} | <tr> <td colspan="2">'''[[Gini_coefficient|Gini]]'''<!-- -->{{#if:{{{Gini_year|}}} |&nbsp;({{{Gini_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if Gini_change provided):----- --><td>{{#switch:{{{Gini_change|}}} |increase = {{increaseNegative}}&nbsp;<!-- -->|decrease = {{decreasePositive}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add Gini (and Gini_ref if supplied):------- -->{{{Gini}}}{{{Gini_ref|}}}<br/><!-- ---------Evaluate and add Gini category:---------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{Gini}}}>100 <!-- -->| {{error|Error: Gini value above 100}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{Gini}}}>=60 |{{color|red|very high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=46 <!-- -->| {{color|darkred|high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=30 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{Gini}}}>=0 <!-- -->| {{color|forestgreen|low}}<!-- -->| {{error|Error:Gini value below 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid Gini value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- -----------Add Gini_rank (if supplied):---------- -->{{#if:{{{Gini_rank|}}} |{{·}}[[List of countries by income equality|{{{Gini_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ HDI ============================================================ -->{{#if:{{{HDI|}}} | <tr> <td colspan="2"><!-- -->'''[[Human Development Index|HDI]]''' <!-- -->{{#if:{{{HDI_year|}}} |({{{HDI_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if HDI_change provided):----- --><td>{{#switch:{{{HDI_change|}}} |increase = {{increase}}&nbsp;<!-- -->|decrease = {{decrease}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add HDI (and HDI_ref if supplied):------- -->{{{HDI}}}{{{HDI_ref|}}}<br/><!-- ---------Evaluate and add HDI category:--------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{HDI}}}>1 <!-- -->| {{error|Error: HDI value greater than 1}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{HDI}}}>0.801 <!-- -->| {{color|darkgreen|very high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.711 <!-- -->| {{color|forestgreen|high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.535 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{HDI}}}>=0.000<!-- -->| {{color|red|low}}<!-- -->| {{error|Error: HDI value less than 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid HDI value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- ----------Add HDI_rank (if supplied):----------- -->{{#if:{{{HDI_rank|}}} |{{·}}[[List of countries by Human Development Index|{{{HDI_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Currency ============================================================ -->{{#if:{{{currency|}}} | <tr> <th colspan="2" style="vertical-align:middle;">{{#ifeq:{{{micronation|}}}|yes|Purported|}} Currency</th> <td>{{{currency}}} {{#if:{{{currency_code|}}} |(<code>[[ISO 4217|{{{currency_code}}}]]</code>)}}</td> </tr><!-- -->}}<!-- ============================================================ Time zone ============================================================ -->{{#if:{{{time_zone|}}}{{{utc_offset|}}} | <tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |class="mergedtoprow"}}> <th colspan="2">Time zone</th> <td>{{{time_zone|}}} <!-- -->{{#if:{{{utc_offset|}}} |{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!-- -->}}</td> </tr><!-- -->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} | <tr class="{{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Summer&nbsp;([[Daylight saving time|DST]])</td> <td>{{{DST|{{{time_zone_DST|}}}}}}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})</td> </tr><!-- -->}}<!-- -->}}<!-- -->{{#if:{{{DST_note|}}} | <tr class="mergedbottomrow"> <td colspan="2"></td> <td>{{{DST_note}}}</td> </tr><!-- -->}}<!-- ============================================================ Antipodes ============================================================ -->{{#if:{{{antipodes|}}} | <tr> <th colspan="2">[[Antipodes]]</th> <td>{{{antipodes}}}</td> </tr><!-- -->}}<!-- ============================================================ Date format ============================================================ -->{{#if:{{{date_format|}}} | <tr> <th colspan="2">Date format</th> <td>{{{date_format}}}</td> </tr><!-- -->}}<!-- ============================================================ Rule of the road ============================================================ -->{{#if:{{{drives_on|}}} | <tr> <th colspan="2">Drives on the</th> <td>{{lcfirst:{{{drives_on}}}}}</td> </tr><!-- -->}}<!-- ============================================================ Calling code ============================================================ -->{{#if:{{{calling_code|}}} | <tr> <th colspan="2"><!-- -->{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code]] | Calling code }}</th> <td>{{{calling_code}}}</td> </tr><!-- -->}}<!-- ============================================================ Patron saint/s ============================================================ -->{{#if:{{{patron_saint|{{{patron_saints|}}}}}} | <tr> <th colspan="2" >[[Patron saint]]{{#if:{{{patron_saints|}}}|s}}</th> <td>{{{patron_saint|{{{patron_saints}}}}}}</td> </tr><!-- -->}}<!-- ============================================================ ISO 3166 code ============================================================ -->{{#switch:{{{iso3166code|}}} |omit = <!--(do nothing)--> | = <!--if iso3166code is not supplied: -->{{#if:{{{common_name|}}} | {{#ifexist:Template:ISO 3166 code {{{common_name|}}} | <tr class="mergedtoprow"> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{ISO 3166 code {{{common_name}}}}}|{{ISO 3166 code {{{common_name}}}}}]]</td> </tr> }} }} |#default = <tr> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]</td> </tr> }}<!-- ============================================================ Internet TLD ============================================================ -->{{#if:{{{cctld|}}} | <tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th> <td>{{{cctld}}}</td> </tr><!-- -->}}<!-- ============================================================ Official website (geopolitical organization) ============================================================ -->{{#if:{{{official_website|}}} | <tr> <td colspan="3" style="text-align:center;line-height:11pt;"><!-- -->'''Website'''<br/>{{{official_website}}}</td> </tr><!-- -->}}<!-- ============================================================ Bottom map ============================================================ -->{{#if:{{{image_map3|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map3}}}|center<!-- -->|{{{map3_width|250px}}}<!-- -->|alt={{{alt_map3|}}}<!-- -->|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;font-size:85%;">{{{map_caption3|}}}</div> </td> </tr><!-- -->}}<!-- ================================================================ Footnotes ================================================================ -------------------------------- Lettered -------------------------------- -->{{#if:{{{footnote_a|}}} | <tr style="font-size:xx-small;"> <td align="right">{{lower|0.3em|<sup>a.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_a}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_b|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_c|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>b.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_b}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_c|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_d|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>c.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_c}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_d|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_e|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>d.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_d}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_e|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_f|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>e.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_e}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_f|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_g|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup><big>f.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_f}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_g|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_h|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>g.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_g}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_h|}}} | <tr style="font-size:xx-small;" class="mergedbottomrow"> <td align="right">{{lower|0.3em|<sup><big>h.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_h}}}</td> </tr><!-- -->}}<!-- -------------------------------- Numbered -------------------------------- -->{{#if:{{{footnote1|}}} | <tr style="font-size:xx-small;"> <td align="right">{{lower|0.3em|<sup>1.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote2|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote3|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>2.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote3|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote4|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>3.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote4|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote5|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>4.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote5|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote6|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>5.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote6|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote7|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>6.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote7|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote8|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>7.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote8|}}} | <tr style="font-size:xx-small;" class="mergedbottomrow"> <td align="right">{{lower|0.3em|<sup>8.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote8}}}</td> </tr><!-- -->}}<!-- -------------------------------- Non-specific -------------------------------- -->{{#if:{{{footnotes|}}} | <tr> <td colspan="3" style="font-size:85%;">{{{footnotes}}}</td> </tr><!-- -->}}<!-- ============================================================ Navbar ============================================================ -->{{#if:{{{navbar|}}} | <tr class="mergedtoprow noprint"> <td colspan="3" style="text-align:center;">{{navbar|{{{navbar|}}}}}</td> </tr><!-- -->}}<!-- --></table><noinclude> {{documentation}} </noinclude> f7c51ad50a946de947e19badefeec1eef38d0580 26 13 2019-12-18T19:23:09Z Rubikia 30444800 wikitext text/x-wiki <table class="infobox geography vcard" style="width:22em; font-size:88%;"><!-- ============================================================ Names ============================================================ -->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | <tr class="adr"> <th colspan="3" class="mergedtoprow" style="text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;"><!-- -->{{#if:{{{conventional_long_name|}}} |<span class=" fn org country-name">{{{conventional_long_name|}}}</span><br/><!-- -->}}<!-- -->{{#if:{{{native_name|}}}{{{name|}}} |<div style="padding-top:0.25em;"><!-- -->{{br separated entries |{{{native_name|}}} |{{#if:{{{name|}}} |<span class="fn org country-name">{{{name|}}}</span><!-- -->}}}}<!-- --></div><!-- -->}}<!-- -->{{#ifeq:{{{micronation|}}}|yes |<span class=" fn org">[[Micronation]]</span><!-- -->|}}<!-- --></th> </tr><!-- -->}}<!-- ============================================================ Flag / Coat-of-arms (or other symbol) ============================================================ -->{{#if:{{{image_flag|}}} |<!---------------------------------------------------- Flag provided, so display it and coat-of-arms (or other symbol) if provided: ---------------------------------------------------- --><tr class="mergedtoprow"> <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!-- ------------------------------------------------ Subtable to format coat-of-arms (or symbol) display. style="text-align:center;"s and "width:auto;"s are for sake of Internet Explorer. ------------------------------------------------ --><table style="text-align:center;width:100%;background:none;"><!-- -----------Image/s----------- --><tr> <td style="text-align:center;{{#if:{{{image_coat|}}}{{{image_symbol|}}} | {{#if:{{{flag_width|}}} |width:{{{flag_width}}}; |width:58%;<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)-->}}<!-- -->}} vertical-align:middle;"><!-- -->[[File:{{{image_flag}}}|125px|{{yesno |{{{flag_border|}}}|yes=border|blank=border}}|alt={{{alt_flag|}}}|Flag of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]<!-- -->{{#if:{{{image_flag2|}}} | [[File:{{{image_flag2}}}|125px|{{yesno |{{{flag2_border|}}}|yes=border|blank=border}}|alt={{{alt_flag2|}}}]]}}<!-- --></td> {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td style="text-align:center;width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]<!-- --></td> }} </tr><!-- ----------Caption/s---------- --><tr> <td style="text-align:center;font-size:85%;">{{#ifexist:Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{flag_caption|Flag}}}]] |Flag }}</td> {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td style="text-align:center;font-size:85%;">{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]] |{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}</td> }} </tr><!-- ------end subtable:------ --></table> </td> </tr><!-- -->|<!----------------------------------------------------- Flag not provided, so display coat-of-arms or other symbol (if provided): ------------------------------------------------------ -->{{#if:{{{image_coat|}}}{{{image_symbol|}}} | <tr class="mergedtoprow"> <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!-- ---------------------------------------------- Subtable to format coat-of-arms (or symbol) display. style="text-align:center;"s and "width:auto;"s are for sake of Internet Explorer. ---------------------------------------------- --><table style="text-align:center;width:100%;background:none;"><!-- -----------Image----------- --><tr> <td style="text-align:center;width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]</td> </tr><!-- ----------Caption---------- --><tr> <td style="text-align:center;font-size:85%;"><!-- -->{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]]|{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}<!-- --></td> </tr><!-- ------end subtable:------- --></table> </td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Motto ============================================================ -->{{#if:{{{national_motto|}}}{{{motto|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->'''Motto:&nbsp;'''{{{motto|{{{national_motto|}}}}}}<!-- -->{{#if:{{{englishmotto|}}}|<br/>{{small|{{{englishmotto}}} }} }}</td> </tr><!-- -->}}<!-- ============================================================ Anthem/s ============================================================ -->{{#if:{{{national_anthem|}}}{{{anthem|}}}{{{royal_anthem|}}} | <tr> <td class="anthem" colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{national_anthem|}}}{{{anthem|}}} |'''Anthem:&nbsp;'''{{{national_anthem|{{{anthem|}}}}}} }}<!-- -->{{#if:{{{royal_anthem|}}} | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!-- -->'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Other symbol/s ============================================================ -->{{#if:{{{other_symbol|}}}{{{text_symbol|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{other_symbol_type|}}}{{{text_symbol_type|}}} | '''{{{other_symbol_type|{{{text_symbol_type|}}}}}}'''<br/>}}<!-- -->{{{other_symbol|}}}{{{text_symbol|}}}</td> </tr><!-- -->}}<!-- ============================================================ Maps ============================================================ -->{{#if:{{{image_map|}}} | <tr> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map}}}|center<!-- -->|{{{map_width|250px}}}<!-- -->|alt={{{alt_map|{{{map_caption|}}}}}}<!-- -->|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}}}}<!-- -->]]<!-- --><div style="padding:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption|}}}</div> </td> </tr><!-- -->}}<!-- -->{{#if:{{{image_map2|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map2}}}|center<!-- -->|{{{map2_width|250px}}}<!-- -->|alt={{{alt_map2|{{{map_caption2|}}}}}}<!-- -->|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption2|}}}</div> </td> </tr><!-- -->}}<!-- ============================================================ Status ============================================================ -->{{#if:{{{status|}}} | <tr> <td colspan="2">'''Status''' </td> <td>{{{status}}}</td> </tr><!-- -->}}<!-- ============================================================ Location ============================================================ -->{{#if:{{{loctext|}}} | <tr> <td colspan="2">'''Location''' </td> <td>{{{loctext}}}</td> </tr><!-- -->}}<!-- ============================================================ Capital/Admin center; Largest city/ies or settlement/s ============================================================ -->{{#if:{{{capital|}}}{{{admin_center|}}}{{{largest_city|}}}{{{largest_settlement|}}} | <tr class="mergedtoprow"><!-- -->{{#if:{{{capital|}}}{{{admin_center|}}} | <td colspan="2"><!-- -->{{#if:{{{capital|}}} | {{#if:{{{capital_type|}}} |'''{{{capital_type}}}''' |'''Capital'''}} | {{#if:{{{admin_center_type|}}}|'''{{{admin_center_type|}}}'''|Administrative&nbsp;center}} }}<!-- ------------------------------------------------- If capital provided, check whether largest_city or largest_settlement (if provided) equals "capital", capital or [[capital]]: ------------------------------------------------- -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital |capital<!-- -->|{{#switch:{{{capital}}} | [[{{{largest_city|}}}{{{largest_settlement|}}}]] = capital | {{{largest_city|}}}{{{largest_settlement|}}} = capital | not capital }}<!-- -->}}|capital <!-- (#ifeq:)-->|<!------------------------------------------ capital is largest_city/_settlement: ------------------------------------------- --><br/>and {{{largest_settlement_type|largest city}}}<!-- --></td><!-- --------Add capital:-------- --><td>{{{capital}}}<!-- ---------Add capital's lat/longitude (if provided):--------- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:city<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- (#ifeq:)-->|<!------------------------------------------ capital isn't largest_city/_settlement: ------------------------------------------ --></td><!-- --------Add capital/admin center:-------- --><td>{{#if:{{{capital|}}}|{{{capital|}}}|{{{admin_center|}}}}}<!-- ----Add capital/admin center's lat/longitude (if provided):---- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:city<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- --------Add largest_city/_settlement (if provided):-------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | </tr> <tr class="mergedbottomrow"> <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- (#ifeq:)-->}}<!-- -->|<!------------------------------------------------- Capital not provided, so add largest_city/_settlement (if provided): -------------------------------------------------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Languages ============================================================ -->{{#if:{{{official_languages|}}} | <tr> <th colspan="2" style="white-space:nowrap;">Official languages</th> <td>{{{official_languages}}}</td> </tr><!-- -->{{#if:{{{recognized_languages|{{{recognised_languages|}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_languages|{{{recognised_languages}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages|}}}}}}}}} | <tr> <td colspan="2">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages|}}}}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------- Customizable language entries: -------- -->{{#if:{{{languages|}}} | <tr {{#ifeq:{{{languages2_sub|}}}|yes |{{#ifeq:{{{languages_sub|}}}|yes |class="mergedrow"|}} |{{#ifeq:{{{languages_sub|}}}|yes |class="mergedbottomrow"|}}<!-- -->}}> <{{#ifeq:{{{languages_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages_type}}}<!-- --></{{#ifeq:{{{languages_sub|}}}|yes |td |th}}> <td>{{{languages}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{languages2|}}} | <tr {{#ifeq:{{{languages2_sub|}}}|yes |class="mergedbottomrow"|}}> <{{#ifeq:{{{languages2_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages2_type}}}<!-- --></{{#ifeq:{{{languages2_sub|}}}|yes |td |th}}> <td>{{{languages2}}}</td> </tr><!-- -->}}<!-- ============================================================ Ethnic groups ============================================================ -->{{#if:{{{ethnic_groups|}}} | <tr> <td colspan="2">'''[[Ethnic groups|Ethnic&nbsp;groups]]''' <!-- -->{{#if:{{{ethnic_groups_year|}}} |({{{ethnic_groups_year}}})}}</td> <td>{{{ethnic_groups}}}</td> </tr><!-- -->}}<!-- ============================================================ Religion ============================================================ -->{{#if:{{{religion|}}} | <tr> <th colspan="2">Religion</th> <td style="vertical-align:middle;">{{{religion}}}</td> </tr><!-- -->}}<!-- ============================================================ Demonym ============================================================ -->{{#if:{{{demonym|}}} | <tr> <th colspan="2">[[Demonym]]</th> <td>{{#ifexist:{{{demonym}}} people | [[{{{demonym}}} people|{{{demonym}}}]] | {{{demonym}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Organization type / Membership (geopolitical org) ============================================================ -->{{#if:{{{org_type|}}} | <tr> <td colspan="2">'''Type'''</td> <td>{{{org_type}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{membership|}}} | <tr> <td colspan="2" style="vertical-align:middle;">'''{{{membership_type|Membership}}}'''</td> <td>{{{membership}}}</td> </tr><!-- -->}}<!-- ============================================================ Government heading(country/territory) Leaders heading (geopolitical organization) ============================================================ -->{{#if:{{{government_type|}}} | <tr> <th colspan="2"><!-- -->{{#if:{{{politics_link|}}} | [[{{{politics_link}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifexist:Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}<!-- -->}}<!-- -->}}<!-- --></th> <td>{{{government_type}}}</td> </tr><!-- -->|<!---------------------------------------------------- No government_type provided, so, if at least one leader provided, use "Leaders" (geopolitical org) or "Government" (country/territory): ----------------------------------------------------- -->{{#if:{{{leader_title1|}}}{{{leader_name1|}}} | {{#if:{{{name|}}}{{{membership|}}} <!--template being used for geopolitical org:--> | <tr><th colspan="3">Leaders</th></tr><!-- <!--template being used for country/territory: -->| <tr><th colspan="3">Government</th></tr><!-- -->}}<!-- -->}}<!-- -->}}<!-- ============================================================ Leaders ============================================================ -->{{#if:{{{leader_title1|}}} | <tr class="{{#if:{{{leader_title2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title1}}}</td> <td>{{{leader_name1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title2|}}} | <tr class="{{#if:{{{leader_title3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title2}}}</td> <td>{{{leader_name2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title3|}}} | <tr class="{{#if:{{{leader_title4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title3}}}</td> <td>{{{leader_name3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title4|}}} | <tr class="{{#if:{{{leader_title5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title4}}}</td> <td>{{{leader_name4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title5|}}} | <tr class="{{#if:{{{leader_title6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title5}}}</td> <td>{{{leader_name5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title6|}}} | <tr class="{{#if:{{{leader_title7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title6}}}</td> <td>{{{leader_name6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title7|}}} | <tr class="{{#if:{{{leader_title8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title7}}}</td> <td>{{{leader_name7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title8|}}} | <tr class="{{#if:{{{leader_title9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title8}}}</td> <td>{{{leader_name8}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title9|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{leader_title9}}}</td> <td>{{{leader_name9}}}</td> </tr><!-- -->}}<!-- ============================================================ Legislature ============================================================ -->{{#if:{{{legislature|}}} | <tr> <th colspan="2">Legislature</th> <td>{{{legislature}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{upper_house|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">[[Upper house]]</td> <td>{{{upper_house}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{lower_house|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">[[Lower house]]</td> <td>{{{lower_house}}}</td> </tr><!-- -->}}<!-- ============================================================ Sovereignty (country/territory) Establishment (geopolitical organization) ============================================================ -->{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}{{{established|}}} | <tr {{#if:{{{established_event1|}}} |class="mergedtoprow"}}><!-- ----------Sovereignty---------- -->{{#if:{{{sovereignty_type|}}} | <th colspan="3">{{{sovereignty_type}}}<!-- -->{{#if:{{{sovereignty_note|}}} |&nbsp;{{nobold|{{{sovereignty_note}}} }}}}<!-- --></th><!-- ---------Establishment---------- -->| {{#if:{{{established|}}} | <th colspan="2">Establishment</th> <td>{{{established}}}</td><!-- -->| <th colspan="3">Establishment</th><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Significant events in country/territory or organization's establishment ============================================================ -->{{#if:{{{established_event1|}}} | <tr class="{{#if:{{{established_event2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event1}}}</td> <td>{{{established_date1|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event2|}}} | <tr class="{{#if:{{{established_event3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event2}}}</td> <td>{{{established_date2|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event3|}}} | <tr class="{{#if:{{{established_event4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event3}}}</td> <td>{{{established_date3|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event4|}}} | <tr class="{{#if:{{{established_event5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event4}}}</td> <td>{{{established_date4|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event5|}}} | <tr class="{{#if:{{{established_event6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event5}}}</td> <td>{{{established_date5|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event6|}}} | <tr class="{{#if:{{{established_event7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event6}}}</td> <td>{{{established_date6|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event7|}}} | <tr class="{{#if:{{{established_event8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event7}}}</td> <td>{{{established_date7|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event8|}}} | <tr class="{{#if:{{{established_event9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event8}}}</td> <td>{{{established_date8|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event9|}}} | <tr class="{{#if:{{{established_event10|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event9}}}</td> <td>{{{established_date9|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event10|}}} | <tr class="{{#if:{{{established_event11|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event10}}}</td> <td>{{{established_date10|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event11|}}} | <tr class="{{#if:{{{established_event12|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event11}}}</td> <td>{{{established_date11|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event12|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{established_event12}}}</td> <td>{{{established_date12|}}}&nbsp;</td> </tr><!-- -->}}<!-- ============================================================ Area (area_label, area_km2, area_label2, area_data2, ...) ============================================================ -->{{#if:{{{area_km2|{{{area_ha|}}}}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{area_link|}}} | [[{{{area_link}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | {{#ifexist:Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}<!-- -->}}<!-- -->}}<!-- --></th> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;"><!-- -->{{{area_label|Total}}}<!-- ---France-related footnote:-->{{#if:{{{FR_foot4|}}} |{{{FR_foot4}}}}}</td> <td>{{formatnum:{{{area_km2|{{{area_ha|}}}}}}}}&nbsp;{{#if:{{{area_km2|}}} |km{{smallsup|2}} |ha }}<!-- -->{{#if:{{{area_footnote|}}} |{{{area_footnote}}} }}<!-- -->{{#if:{{{area_rank|}}} |&#32;([[List of countries and dependencies by area|{{{area_rank}}}]]) }}<!-- -->{{#if:{{{area_sq_mi|}}} |<br/>{{formatnum:{{{area_sq_mi}}}}}&nbsp;sq&nbsp;mi<!-- -->|<br/>{{#if:{{{area_acre|}}} |{{formatnum:{{{area_acre}}}}}&nbsp;acre{{#ifexpr:{{{area_acre}}}=1||s}} |{{#if:{{{area_km2|}}} |{{formatnum:<!-- -->{{#expr:{{{area_km2|}}} div 2.589988110336 round 0}}}}&nbsp;sq&nbsp;mi |{{formatnum:<!-- -->{{#expr:{{{area_ha|}}} div 0.4046856422 round 0}}}}&nbsp;acres }} }}<!-- -->}}</td> </tr><!-- -->}}<!-- -------------------Percentage water-------------------- -->{{#if:{{{percent_water|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Water&nbsp;(%)</td> <td>{{{percent_water}}}</td> </tr><!-- -->}}<!-- ------------------Area 2 (customized)------------------- -->{{#if:{{{area_label2|}}} | <tr class="mergedrow"> <td>&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{area_label2|}}}</td> <td>{{{area_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Area 3 (customized)------------------- -->{{#if:{{{area_label3|}}} | <tr class="mergedrow"> <td>&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{area_label3|}}}</td> <td>{{{area_data3|}}}</td> </tr><!-- -->}}<!-- -----------Areas of France----------- -->{{#if:{{{FR_metropole|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td colspan="2" style="padding-left:0;">{{{FR_metropole}}}</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;•&nbsp;[[Institut Géographique National|IGN]]{{{FR_foot2|}}}</td> <td>{{formatnum:{{{FR_IGN_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_IGN_area_rank|}}}]])<!-- -->{{#if:{{{FR_IGN_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_IGN_area_sq_mi|}}}}}<!-- -->|<br/>{{formatnum:{{#expr:{{{FR_IGN_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;•&nbsp;[[Cadastre]]{{{FR_foot3|}}}</td> <td>{{formatnum:{{{FR_cadastre_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_cadastre_area_rank|}}}]])<!-- -->{{#if:{{{FR_cadastre_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_cadastre_area_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{FR_cadastre_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr><!-- -->}}<!-- ============================================================ Population ============================================================ -->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{population_link|}}} | [[{{{population_link}}}|Population]]<!-- -->| {{#ifexist:Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Population]]<!-- -->| Population<!-- -->}}<!-- -->}}<!-- --></th> </tr><!-- ---------------Estimate--------------- -->{{#if:{{{population_estimate|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_estimate_year|}}} |{{{population_estimate_year}}}&nbsp;}}<!-- -->estimate</td> <td>{{{population_estimate}}}<!-- -->{{#if:{{{population_estimate_rank|}}} |&#32;([[List of countries by population|{{{population_estimate_rank}}}]])}}</td> </tr><!-- -->}}<!-- ------------------Population 2 (customized)------------------- -->{{#if:{{{population_label2|}}} | <tr class="mergedrow"> <td>&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{population_label2|}}}</td> <td>{{{population_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Population 3 (customized)------------------- -->{{#if:{{{population_label3|}}} | <tr class="mergedrow"> <td>&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{population_label3|}}}</td> <td>{{{population_data3|}}}</td> </tr><!-- -->}}<!-- ----------------Census---------------- -->{{#if:{{{population_census|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_census_year|}}} |{{{population_census_year}}}&nbsp;}}<!-- -->census</td> <td>{{{population_census|}}}<!-- -->{{#if:{{{population_census_rank|}}} |&#32;([[List of countries by population|{{{population_census_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------(France)------- -->{{#if:{{{FR_metropole_population|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td colspan="2" style="padding-left:0;">({{{FR_total_population_estimate_year}}})</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Total{{{FR_foot}}}</td> <td>{{{FR_total_population_estimate}}}&#32;([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">{{{FR_metropole}}}</td> <td>{{{FR_metropole_population}}}&#32;([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])</td> </tr><!-- -->}}<!-- ---------------Density---------------- -->{{#if:{{{population_density_km2|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Density<!-- ---France-related footnote:-->{{#if:{{{FR_foot5|}}} |{{{FR_foot5}}}}}</td> <td>{{{population_density_km2|}}}/km{{smallsup|2}}<!-- -->{{#if:{{{pop_den_footnote|}}} |{{{pop_den_footnote|}}}}}<!-- -->{{#if:{{{population_density_rank|}}} |&#32;([[List of sovereign states and dependent territories by population density|{{{population_density_rank}}}]])}}<!-- -->{{#if:{{{population_density_sq_mi|}}} |<br/>{{formatnum:{{{population_density_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{population_density_km2|}}} * 2.589988110336 round 1}}}}<!-- -->}}/sq&nbsp;mi</td> </tr><!-- -->}}<!-- -->{{#if:{{{nummembers|}}}<!-- -->| {{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedbottomrow"> | <tr class="mergedtoprow">}} <th colspan="2">Membership</th> <td style="vertical-align:middle;">{{{nummembers}}}</td> </tr><!-- -->}}<!-- ============================================================ GDP ============================================================ -----------------PPP----------------- -->{{#if:{{{GDP_PPP|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]'''&nbsp;([[Purchasing power parity|PPP]])</td> <td>{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_PPP}}}<!-- -->{{#if:{{{GDP_PPP_rank|}}} |&#32;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])}}</td> </tr><!-- -------(PPP per capita)------- -->{{#if:{{{GDP_PPP_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_PPP_per_capita}}}<!-- -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ---------------Nominal--------------- -->{{#if:{{{GDP_nominal|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]'''&nbsp;(nominal)</td> <td>{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_nominal}}}<!-- -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}</td> </tr><!-- -------(Nominal per capita)------- -->{{#if:{{{GDP_nominal_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_nominal_per_capita}}}<!-- -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Gini ============================================================ -->{{#if:{{{Gini|}}} | <tr> <td colspan="2">'''{{wp|Gini_coefficient|Gini}}'''<!-- -->{{#if:{{{Gini_year|}}} |&nbsp;({{{Gini_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if Gini_change provided):----- --><td>{{#switch:{{{Gini_change|}}} |increase = {{increaseNegative}}&nbsp;<!-- -->|decrease = {{decreasePositive}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add Gini (and Gini_ref if supplied):------- -->{{{Gini}}}{{{Gini_ref|}}}<br/><!-- ---------Evaluate and add Gini category:---------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{Gini}}}>100 <!-- -->| {{error|Error: Gini value above 100}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{Gini}}}>=60 |{{color|red|very high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=46 <!-- -->| {{color|darkred|high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=30 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{Gini}}}>=0 <!-- -->| {{color|forestgreen|low}}<!-- -->| {{error|Error:Gini value below 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid Gini value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- -----------Add Gini_rank (if supplied):---------- -->{{#if:{{{Gini_rank|}}} |{{·}}[[List of countries by income equality|{{{Gini_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ HDI ============================================================ -->{{#if:{{{HDI|}}} | <tr> <td colspan="2"><!-- -->'''{{wp|Human Development Index|HDI}}''' <!-- -->{{#if:{{{HDI_year|}}} |({{{HDI_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if HDI_change provided):----- --><td>{{#switch:{{{HDI_change|}}} |increase = {{increase}}&nbsp;<!-- -->|decrease = {{decrease}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add HDI (and HDI_ref if supplied):------- -->{{{HDI}}}{{{HDI_ref|}}}<br/><!-- ---------Evaluate and add HDI category:--------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{HDI}}}>1 <!-- -->| {{error|Error: HDI value greater than 1}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{HDI}}}>0.799 <!-- -->| {{color|darkgreen|very high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.699 <!-- -->| {{color|forestgreen|high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.549 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{HDI}}}>=0.000<!-- -->| {{color|red|low}}<!-- -->| {{error|Error: HDI value less than 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid HDI value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- ----------Add HDI_rank (if supplied):----------- -->{{#if:{{{HDI_rank|}}} |{{·}}[[List of countries by Human Development Index|{{{HDI_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Currency ============================================================ -->{{#if:{{{currency|}}} | <tr> <th colspan="2" style="vertical-align:middle;">{{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}</th> <td>{{{currency}}} {{#if:{{{currency_code|}}} |({{wp|ISO 4217|{{{currency_code}}}}})}}</td> </tr><!-- -->}}<!-- ============================================================ Time zone ============================================================ -->{{#if:{{{time_zone|}}}{{{utc_offset|}}} | <tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |class="mergedtoprow"}}> <th colspan="2">Time zone</th> <td>{{{time_zone|}}} <!-- -->{{#if:{{{utc_offset|}}} |{{nowrap|({{wp|Coordinated Universal Time|UTC}}{{{utc_offset}}})}}<!-- -->}}</td> </tr><!-- -->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} | <tr class="{{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;•&nbsp;</td> <td style="padding-left:0;">Summer&nbsp;({{wp|Daylight saving time|DST}})</td> <td>{{{DST|{{{time_zone_DST|}}}}}}&nbsp;({{wp|Coordinated Universal Time|UTC}}{{{utc_offset_DST}}})</td> </tr><!-- -->}}<!-- -->}}<!-- -->{{#if:{{{DST_note|}}} | <tr class="mergedbottomrow"> <td colspan="2"></td> <td>{{{DST_note}}}</td> </tr><!-- -->}}<!-- ============================================================ Antipodes ============================================================ -->{{#if:{{{antipodes|}}} | <tr> <th colspan="2">{{wp|Antipodes}}</th> <td>{{{antipodes}}}</td> </tr><!-- -->}}<!-- ============================================================ Date format ============================================================ -->{{#if:{{{date_format|}}} | <tr> <th colspan="2">Date format</th> <td>{{{date_format}}}</td> </tr><!-- -->}}<!-- ============================================================ Rule of the road ============================================================ -->{{#if:{{{drives_on|}}} | <tr> <th colspan="2">{{wp|Right- and left-hand traffic|Drives on the}}</th> <td>{{lcfirst:{{{drives_on}}}}}</td> </tr><!-- -->}}<!-- ============================================================ Calling code ============================================================ -->{{#if:{{{calling_code|}}} | <tr> <th colspan="2"><!-- -->{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code]] | Calling code }}</th> <td>{{{calling_code}}}</td> </tr><!-- -->}}<!-- ============================================================ Patron saint/s ============================================================ -->{{#if:{{{patron_saint|{{{patron_saints|}}}}}} | <tr> <th colspan="2" >[[Patron saint]]{{#if:{{{patron_saints|}}}|s}}</th> <td>{{{patron_saint|{{{patron_saints}}}}}}</td> </tr><!-- -->}}<!-- ============================================================ ISO 3166 code ============================================================ -->{{#switch:{{{iso3166code|}}} |omit = <!--(do nothing)--> | = <!--if iso3166code is not supplied: -->{{#if:{{{common_name|}}} | {{#ifexist:Template:ISO 3166 code {{{common_name|}}} | <tr class="mergedtoprow"> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{ISO 3166 code {{{common_name}}}}}|{{ISO 3166 code {{{common_name}}}}}]]</td> </tr> }} }} |#default = <tr> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]</td> </tr> }}<!-- ============================================================ Internet TLD ============================================================ -->{{#if:{{{cctld|}}} | <tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th> <td>{{{cctld}}}</td> </tr><!-- -->}}<!-- ============================================================ Official website (geopolitical organization) ============================================================ -->{{#if:{{{official_website|}}} | <tr> <td colspan="3" style="text-align:center;line-height:11pt;"><!-- -->'''Website'''<br/>{{{official_website}}}</td> </tr><!-- -->}}<!-- ============================================================ Bottom map ============================================================ -->{{#if:{{{image_map3|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map3}}}|center<!-- -->|{{{map3_width|250px}}}<!-- -->|alt={{{alt_map3|}}}<!-- -->|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;font-size:85%;">{{{map_caption3|}}}</div> </td> </tr><!-- -->}}<!-- ================================================================ Footnotes ================================================================ -------------------------------- Lettered -------------------------------- -->{{#if:{{{footnote_a|}}} | <tr style="font-size:85%;"> <td style="text-align:right;">{{lower|0.3em|<sup>a.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_a}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_b|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_c|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>b.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_b}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_c|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_d|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>c.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_c}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_d|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_e|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>d.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_d}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_e|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_f|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>e.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_e}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_f|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_g|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup><big>f.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_f}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_g|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote_h|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>g.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_g}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_h|}}} | <tr style="font-size:85%;" class="mergedbottomrow"> <td style="text-align:right;">{{lower|0.3em|<sup><big>h.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_h}}}</td> </tr><!-- -->}}<!-- -------------------------------- Numbered -------------------------------- -->{{#if:{{{footnote1|}}} | <tr style="font-size:85%;"> <td style="text-align:right;">{{lower|0.3em|<sup>1.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote2|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote3|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>2.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote3|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote4|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>3.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote4|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote5|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>4.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote5|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote6|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>5.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote6|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote7|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>6.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote7|}}} | <tr style="font-size:85%;" class="{{#if:{{{footnote8|}}} |mergedrow |mergedbottomrow}}"> <td style="text-align:right;">{{lower|0.3em|<sup>7.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote8|}}} | <tr style="font-size:85%;" class="mergedbottomrow"> <td style="text-align:right;">{{lower|0.3em|<sup>8.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote8}}}</td> </tr><!-- -->}}<!-- -------------------------------- Non-specific -------------------------------- -->{{#if:{{{footnotes|}}} | <tr> <td colspan="3" style="font-size:85%;">{{{footnotes}}}</td> </tr><!-- -->}}<!-- ============================================================ Navbar ============================================================ -->{{#if:{{{navbar|}}} | <tr class="mergedtoprow noprint"> <td colspan="3" style="text-align:center;">{{navbar|{{{navbar|}}}}}</td> </tr><!-- -->}}<!-- --></table><noinclude> {{documentation}} </noinclude> 1b5c0ad4acad6cc7a68f167dabb0e00b57eab508 42 26 2019-12-18T20:57:50Z Rubikia 30444800 wikitext text/x-wiki <table class="infobox geography vcard" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px;" font-size:88%;"><!-- ============================================================ Names ============================================================ -->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | <tr class="adr"> <th colspan="3" align="center" class="mergedtoprow" style="padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;"><!-- -->{{#if:{{{conventional_long_name|}}} |<span class=" fn org country-name">{{{conventional_long_name|}}}</span><br/><!-- -->}}<!-- -->{{#if:{{{native_name|}}}{{{name|}}} |<div style="padding-top:0.25em;"><!-- -->{{br separated entries |{{{native_name|}}} |{{#if:{{{name|}}} |<span class="fn org country-name">{{{name|}}}</span><!-- -->}}}}<!-- --></div><!-- -->}}<!-- -->{{#ifeq:{{{micronation|}}}|yes |<span class=" fn org">[[Micronation]]</span><!-- -->|}}<!-- --></th> </tr><!-- -->}}<!-- ============================================================ Flag / Coat-of-arms (or other symbol) ============================================================ -->{{#if:{{{image_flag|}}} |<!---------------------------------------------------- Flag provided, so display it and coat-of-arms (or other symbol) if provided: ---------------------------------------------------- --><tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- ------------------------------------------------ Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. ------------------------------------------------ --><table align="center" style="width:100%;background:none;"><!-- -----------Image/s----------- --><tr> <td align="center" style="{{#if:{{{image_coat|}}}{{{image_symbol|}}} | {{#if:{{{flag_width|}}} |width:{{{flag_width}}}; |width:58%;<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)-->}}<!-- -->}} vertical-align:middle;"><!-- -->[[File:{{{image_flag}}}|125px|border|alt={{{alt_flag|}}}|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- -->{{#if:{{{image_flag2|}}} | [[File:{{{image_flag2}}}|125px|border|alt={{{alt_flag2|}}}]]}}<!-- --></td> {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td align="center" style="width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- --></td> }} </tr><!-- ----------Caption/s---------- --><tr> {{#if:{{{common_name|}}}{{{linking_name|}}}{{{name|}}} | <td align="center" style="font-size:85%;">{{#ifexist:Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{flag_caption|Flag}}}]] |Flag }}</td> }} {{#if:{{{image_coat|}}}{{{image_symbol|}}} | <td align="center" style="font-size:85%;">{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]] |{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}</td> }} </tr><!-- ------end subtable:------ --></table> </td> </tr><!-- -->|<!----------------------------------------------------- Flag not provided, so display coat-of-arms or other symbol (if provided): ------------------------------------------------------ -->{{#if:{{{image_coat|}}}{{{image_symbol|}}} | <tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- ---------------------------------------------- Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. ---------------------------------------------- --><table align="center" style="width:100%;background:none;"><!-- -----------Image----------- --><tr> <td align="center" style="width:auto;vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]</td> </tr><!-- ----------Caption---------- --><tr> <td align="center" style="font-size:85%;"><!-- -->{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]]}}<!-- --></td> </tr><!-- ------end subtable:------- --></table> </td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Motto ============================================================ -->{{#if:{{{national_motto|}}}{{{motto|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->'''Motto:&nbsp;'''{{{motto|{{{national_motto|}}}}}}<!-- -->{{#if:{{{englishmotto|}}}|<br/>{{small|{{{englishmotto}}} }} }}</td> </tr><!-- -->}}<!-- ============================================================ Anthem/s ============================================================ -->{{#if:{{{national_anthem|}}}{{{anthem|}}}{{{royal_anthem|}}} | <tr> <td class="anthem" colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{national_anthem|}}}{{{anthem|}}} |'''Anthem:&nbsp;'''{{{national_anthem|{{{anthem|}}}}}} }}<!-- -->{{#if:{{{royal_anthem|}}} | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!-- -->'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Other symbol/s ============================================================ -->{{#if:{{{other_symbol|}}}{{{text_symbol|}}} | <tr> <td colspan="3" style="text-align:center;line-height:1.2em;"><!-- -->{{#if:{{{other_symbol_type|}}}{{{text_symbol_type|}}} | '''{{{other_symbol_type|{{{text_symbol_type|}}}}}}'''<br/>}}<!-- -->{{{other_symbol|}}}{{{text_symbol|}}}</td> </tr><!-- -->}}<!-- ============================================================ Maps ============================================================ -->{{#if:{{{image_map|}}} | <tr> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map}}}|center<!-- -->|{{{map_width|250px}}}<!-- -->|alt={{{alt_map|{{{map_caption|}}}}}}<!-- -->|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!-- -->]]<!-- --><div style="padding:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption|}}}</div> </td> </tr><!-- -->}}<!-- -->{{#if:{{{image_map2|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map2}}}|center<!-- -->|{{{map2_width|280px}}}<!-- -->|alt={{{alt_map2|{{{map_caption2|}}}}}}<!-- -->|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;line-height:1.2em;font-size:85%;">{{{map_caption2|}}}</div> </td> </tr><!-- -->}}<!-- ============================================================ Status ============================================================ -->{{#if:{{{status|}}} | <tr> <td colspan="2">'''Status''' </td> <td>{{{status}}}</td> </tr><!-- -->}}<!-- ============================================================ Location ============================================================ -->{{#if:{{{loctext|}}} | <tr> <td colspan="2">'''Location''' </td> <td>{{{loctext}}}</td> </tr><!-- -->}}<!-- ============================================================ Capital/Admin center; Largest city/ies or settlement/s ============================================================ -->{{#if:{{{capital|}}}{{{admin_center|}}}{{{largest_city|}}}{{{largest_settlement|}}} | <tr class="mergedtoprow"><!-- -->{{#if:{{{capital|}}}{{{admin_center|}}} | <td colspan="2"><!-- -->{{#if:{{{admin_center_type|}}}{{{admin_center|}}} | '''{{{admin_center_type|Administrative&nbsp;center}}}'''<!-- -->| {{#if:{{{capital_type|}}} |'''{{{capital_type}}}''' |'''Capital'''}}<!-- -->}}<!-- ------------------------------------------------- If capital provided, check whether largest_city or largest_settlement (if provided) equals "capital", capital or [[capital]]: ------------------------------------------------- -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital |capital<!-- -->|{{#switch:{{{capital}}} | [[{{{largest_city|}}}{{{largest_settlement|}}}]] = capital | {{{largest_city|}}}{{{largest_settlement|}}} = capital | not capital }}<!-- -->}}|capital <!-- (#ifeq:)-->|<!------------------------------------------ capital is largest_city/_settlement: ------------------------------------------- --><br/>and {{{largest_settlement_type|largest city}}}<!-- --></td><!-- --------Add capital:-------- --><td>{{{capital}}}<!-- ---------Add capital's lat/longitude (if provided):--------- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:country<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- (#ifeq:)-->|<!------------------------------------------ capital isn't largest_city/_settlement: ------------------------------------------ --></td><!-- --------Add capital/admin center:-------- --><td>{{{capital|{{{admin_center|}}}}}}<!-- ----Add capital/admin center's lat/longitude (if provided):---- -->{{#if:{{{latd|}}} |<br/><span style="white-space:nowrap;font-size:85%;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!-- -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!-- -->|type:country<!-- -->}}<!-- --></span><!-- -->}}<!-- --></td><!-- --------Add largest_city/_settlement (if provided):-------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | </tr> <tr class="mergedbottomrow"> <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- (#ifeq:)-->}}<!-- -->|<!------------------------------------------------- Capital not provided, so add largest_city/_settlement (if provided): -------------------------------------------------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | <th colspan="2">Largest {{{largest_settlement_type|city}}}</th> <td>{{{largest_city|{{{largest_settlement|}}}}}}</td><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Languages ============================================================ -->{{#if:{{{official_languages|}}} | <tr> <th colspan="2" style="white-space:nowrap;">Official languages</th> <td>{{{official_languages}}}</td> </tr><!-- -->{{#if:{{{recognized_languages|{{{recognised_languages|}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_languages|{{{recognised_languages}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages|}}}}}}}}} | <tr> <td colspan="2">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_national_languages|{{{recognised_national_languages|{{{national_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages|}}}}}}}}} | <tr class="mergedbottomrow"> <td colspan="2">{{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional&nbsp;languages</td> <td style="vertical-align:middle;">{{{recognized_regional_languages|{{{recognised_regional_languages|{{{regional_languages}}}}}}}}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------- Customizable language entries: -------- -->{{#if:{{{languages|}}} | <tr{{#ifeq:{{{languages2_sub|}}}|yes |{{#ifeq:{{{languages_sub|}}}|yes |<nowiki> </nowiki>class="mergedrow"|}} |{{#ifeq:{{{languages_sub|}}}|yes |<nowiki> </nowiki>class="mergedbottomrow"|}}<!-- -->}}> <{{#ifeq:{{{languages_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages_type}}}<!-- --></{{#ifeq:{{{languages_sub|}}}|yes |td |th}}> <td>{{{languages}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{languages2|}}} | <tr{{#ifeq:{{{languages2_sub|}}}|yes |<nowiki> </nowiki>class="mergedbottomrow"|}}> <{{#ifeq:{{{languages2_sub|}}}|yes |td |th}} colspan="2" style="white-space:nowrap;"><!-- -->{{{languages2_type}}}<!-- --></{{#ifeq:{{{languages2_sub|}}}|yes |td |th}}> <td>{{{languages2}}}</td> </tr><!-- -->}}<!-- ============================================================ Ethnic groups ============================================================ -->{{#if:{{{ethnic_groups|}}} | <tr> <td colspan="2">'''Ethnic&nbsp;groups''' <!-- -->{{#if:{{{ethnic_groups_year|}}} |({{{ethnic_groups_year}}})}}</td> <td>{{{ethnic_groups}}}</td> </tr><!-- -->}}<!-- ============================================================ Religion ============================================================ -->{{#if:{{{religion|}}} | <tr> <th colspan="2">Religion</th> <td style="vertical-align:middle;">{{{religion}}}</td> </tr><!-- -->}}<!-- ============================================================ Demonym ============================================================ -->{{#if:{{{demonym|}}} | <tr> <th colspan="2">Demonym</th> <td>{{#ifexist:{{{demonym}}} people | [[{{{demonym}}} people|{{{demonym}}}]] | {{{demonym}}}<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Organization type / Membership (geopolitical org) ============================================================ -->{{#if:{{{org_type|}}} | <tr> <td colspan="2">'''Type'''</td> <td>{{{org_type}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{membership|}}} | <tr> <td colspan="2" style="vertical-align:middle;">'''{{{membership_type|Membership}}}'''</td> <td>{{{membership}}}</td> </tr><!-- -->}}<!-- ============================================================ Government heading(country/territory) Leaders heading (geopolitical organization) ============================================================ -->{{#if:{{{government_type|}}} | <tr> <th colspan="2"><!-- -->{{#if:{{{politics_link|}}} | [[{{{politics_link}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifexist:Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Politics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|{{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}]]<!-- -->| {{#ifeq:{{{micronation|}}}|yes|Organizational structure|Government}}<!-- -->}}<!-- -->}}<!-- --></th> <td>{{{government_type}}}</td> </tr><!-- -->|<!---------------------------------------------------- No government_type provided, so, if at least one leader provided, use "Leaders" (geopolitical org) or "Government" (country/territory): ----------------------------------------------------- -->{{#if:{{{leader_title1|}}}{{{leader_name1|}}} | {{#if:{{{name|}}}{{{membership|}}} <!--template being used for geopolitical org:--> | <tr><th colspan="3">Leaders</th></tr><!-- <!--template being used for country/territory: -->| <tr><th colspan="3">Government</th></tr><!-- -->}}<!-- -->}}<!-- -->}}<!-- ============================================================ Leaders ============================================================ -->{{#if:{{{leader_title1|}}} | <tr class="{{#if:{{{leader_title2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title1}}}</td> <td>{{{leader_name1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title2|}}} | <tr class="{{#if:{{{leader_title3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title2}}}</td> <td>{{{leader_name2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title3|}}} | <tr class="{{#if:{{{leader_title4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title3}}}</td> <td>{{{leader_name3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title4|}}} | <tr class="{{#if:{{{leader_title5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title4}}}</td> <td>{{{leader_name4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title5|}}} | <tr class="{{#if:{{{leader_title6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title5}}}</td> <td>{{{leader_name5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title6|}}} | <tr class="{{#if:{{{leader_title7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title6}}}</td> <td>{{{leader_name6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title7|}}} | <tr class="{{#if:{{{leader_title8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title7}}}</td> <td>{{{leader_name7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title8|}}} | <tr class="{{#if:{{{leader_title9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title8}}}</td> <td>{{{leader_name8}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title9|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{leader_title9}}}</td> <td>{{{leader_name9}}}</td> </tr><!-- -->}}<!-- ============================================================ Legislature ============================================================ -->{{#if:{{{legislature|}}} | <tr> <th colspan="2">Legislature</th> <td>{{{legislature}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{upper_house|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Upper house</td> <td>{{{upper_house}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{lower_house|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Lower house</td> <td>{{{lower_house}}}</td> </tr><!-- -->}}<!-- ============================================================ Sovereignty (country/territory) Establishment (geopolitical organization) ============================================================ -->{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}{{{established|}}} | <tr {{#if:{{{established_event1|}}} |class="mergedtoprow"}}><!-- ----------Sovereignty---------- -->{{#if:{{{sovereignty_type|}}} | <th colspan="3">{{{sovereignty_type}}}<!-- -->{{#if:{{{sovereignty_note|}}} |&nbsp;{{nobold|{{{sovereignty_note}}} }}}}<!-- --></th><!-- ---------Establishment---------- -->| {{#if:{{{established|}}} | <th colspan="2">Establishment</th> <td>{{{established}}}</td><!-- -->| <th colspan="3">Establishment</th><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ============================================================ Significant events in country/territory or organization's establishment ============================================================ -->{{#if:{{{established_event1|}}} | <tr class="{{#if:{{{established_event2|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event1}}}</td> <td>{{{established_date1|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event2|}}} | <tr class="{{#if:{{{established_event3|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event2}}}</td> <td>{{{established_date2|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event3|}}} | <tr class="{{#if:{{{established_event4|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event3}}}</td> <td>{{{established_date3|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event4|}}} | <tr class="{{#if:{{{established_event5|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event4}}}</td> <td>{{{established_date4|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event5|}}} | <tr class="{{#if:{{{established_event6|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event5}}}</td> <td>{{{established_date5|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event6|}}} | <tr class="{{#if:{{{established_event7|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event6}}}</td> <td>{{{established_date6|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event7|}}} | <tr class="{{#if:{{{established_event8|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event7}}}</td> <td>{{{established_date7|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event8|}}} | <tr class="{{#if:{{{established_event9|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event8}}}</td> <td>{{{established_date8|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event9|}}} | <tr class="{{#if:{{{established_event10|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event9}}}</td> <td>{{{established_date9|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event10|}}} | <tr class="{{#if:{{{established_event11|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event10}}}</td> <td>{{{established_date10|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event11|}}} | <tr class="{{#if:{{{established_event12|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event11}}}</td> <td>{{{established_date11|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event12|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{established_event12}}}</td> <td>{{{established_date12|}}}&nbsp;</td> </tr><!-- -->}}<!-- ============================================================ Area (area_label, area_km2, area_label2, area_data2, ...) ============================================================ -->{{#if:{{{area_km2|{{{area_ha|}}}}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{area_link|}}} | [[{{{area_link}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | {{#ifexist:Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Geography of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]] | Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}<!-- -->}}<!-- -->}}<!-- --></th> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{{area_label|Total}}}<!-- ---France-related footnote:-->{{#if:{{{FR_foot4|}}} |{{{FR_foot4}}}}}</td> <td>{{formatnum:{{{area_km2|{{{area_ha|}}}}}}}}&nbsp;{{#if:{{{area_km2|}}} |km{{smallsup|2}} |ha }}<!-- -->{{#if:{{{area_footnote|}}} |{{{area_footnote}}} }}<!-- -->{{#if:{{{area_rank|}}} |&#32;([[List of countries and dependencies by area|{{{area_rank}}}]]) }}<!-- -->{{#if:{{{area_sq_mi|}}} |<br/>{{formatnum:{{{area_sq_mi}}}}}&nbsp;sq&nbsp;mi<!-- -->|<br/>{{#if:{{{area_acre|}}} |{{formatnum:{{{area_acre}}}}}&nbsp;acre{{#ifexpr:{{{area_acre}}}=1||s}} |{{#if:{{{area_km2|}}} |{{formatnum:<!-- -->{{#expr:{{{area_km2|}}} div 2.589988110336 round 0}}}}&nbsp;sq&nbsp;mi |{{formatnum:<!-- -->{{#expr:{{{area_ha|}}} div 0.4046856422 round 0}}}}&nbsp;acres }} }}<!-- -->}}</td> </tr><!-- -->}}<!-- -------------------Percentage water-------------------- -->{{#if:{{{percent_water|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Water&nbsp;(%)</td> <td>{{{percent_water}}}</td> </tr><!-- -->}}<!-- ------------------Area 2 (customized)------------------- -->{{#if:{{{area_label2|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{area_label2|}}}</td> <td>{{{area_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Area 3 (customized)------------------- -->{{#if:{{{area_label3|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{area_label3|}}}</td> <td>{{{area_data3|}}}</td> </tr><!-- -->}}<!-- -----------Areas of France----------- -->{{#if:{{{FR_metropole|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td colspan="2" style="padding-left:0;">{{{FR_metropole}}}</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;-&nbsp;[[Institut Géographique National|IGN]]{{{FR_foot2|}}}</td> <td>{{formatnum:{{{FR_IGN_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_IGN_area_rank|}}}]])<!-- -->{{#if:{{{FR_IGN_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_IGN_area_sq_mi|}}}}}<!-- -->|<br/>{{formatnum:{{#expr:{{{FR_IGN_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:0;">&nbsp;-&nbsp;[[Cadastre]]{{{FR_foot3|}}}</td> <td>{{formatnum:{{{FR_cadastre_area_km2|}}}}}&nbsp;km{{smallsup|2}}&#32;([[List of countries and dependencies by area|{{{FR_cadastre_area_rank|}}}]])<!-- -->{{#if:{{{FR_cadastre_area_sq_mi|}}} |<br/>{{formatnum:{{{FR_cadastre_area_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{FR_cadastre_area_km2|}}} div 2.589988110336 round 0}}}}<!-- -->}}&nbsp;sq&nbsp;mi</td> </tr><!-- -->}}<!-- ============================================================ Population ============================================================ -->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedtoprow"> <th colspan="3"><!-- -->{{#if:{{{population_link|}}} | [[{{{population_link}}}|Population]]<!-- -->| {{#ifexist:Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Demographics of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Population]]<!-- -->| Population<!-- -->}}<!-- -->}}<!-- --></th> </tr><!-- ---------------Estimate--------------- -->{{#if:{{{population_estimate|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_estimate_year|}}} |{{{population_estimate_year}}}&nbsp;}}<!-- -->estimate</td> <td>{{{population_estimate}}}<!-- -->{{#if:{{{population_estimate_rank|}}} |&#32;([[List of countries by population|{{{population_estimate_rank}}}]])}}</td> </tr><!-- -->}}<!-- ------------------Population 2 (customized)------------------- -->{{#if:{{{population_label2|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{population_label2|}}}</td> <td>{{{population_data2|}}}</td> </tr><!-- -->}}<!-- ------------------Population 3 (customized)------------------- -->{{#if:{{{population_label3|}}} | <tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{population_label3|}}}</td> <td>{{{population_data3|}}}</td> </tr><!-- -->}}<!-- ----------------Census---------------- -->{{#if:{{{population_census|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;"><!-- -->{{#if:{{{population_census_year|}}} |{{{population_census_year}}}&nbsp;}}<!-- -->census</td> <td>{{{population_census|}}}<!-- -->{{#if:{{{population_census_rank|}}} |&#32;([[List of countries by population|{{{population_census_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- -------(France)------- -->{{#if:{{{FR_metropole_population|}}} | <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;</td> <td colspan="2" style="padding-left:0;">({{{FR_total_population_estimate_year}}})</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total{{{FR_foot}}}</td> <td>{{{FR_total_population_estimate}}}&#32;([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">{{{FR_metropole}}}</td> <td>{{{FR_metropole_population}}}&#32;([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])</td> </tr><!-- -->}}<!-- ---------------Density---------------- -->{{#if:{{{population_density_km2|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Density<!-- ---France-related footnote:-->{{#if:{{{FR_foot5|}}} |{{{FR_foot5}}}}}</td> <td>{{{population_density_km2|}}}/km{{smallsup|2}}<!-- -->{{#if:{{{pop_den_footnote|}}} |{{{pop_den_footnote|}}}}}<!-- -->{{#if:{{{population_density_rank|}}} |&#32;([[List of sovereign states and dependent territories by population density|{{{population_density_rank}}}]])}}<!-- -->{{#if:{{{population_density_sq_mi|}}} |<br/>{{formatnum:{{{population_density_sq_mi|}}}}} |<br/>{{formatnum:{{#expr:{{{population_density_km2|}}} * 2.589988110336 round 1}}}}<!-- -->}}/sq&nbsp;mi</td> </tr><!-- -->}}<!-- -->{{#if:{{{nummembers|}}}<!-- -->| {{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} | <tr class="mergedbottomrow"> | <tr class="mergedtoprow">}} <th colspan="2">Membership</th> <td style="vertical-align:middle;">{{{nummembers}}}</td> </tr><!-- -->}}<!-- ============================================================ GDP ============================================================ -----------------PPP----------------- -->{{#if:{{{GDP_PPP|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]'''&nbsp;([[Purchasing power parity|PPP]])</td> <td>{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_PPP}}}<!-- -->{{#if:{{{GDP_PPP_rank|}}} |&#32;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])}}</td> </tr><!-- -------(PPP per capita)------- -->{{#if:{{{GDP_PPP_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_PPP_per_capita}}}<!-- -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ---------------Nominal--------------- -->{{#if:{{{GDP_nominal|}}} | <tr class="mergedtoprow"> <td colspan="2">'''{{#ifeq:{{{micronation|}}}|yes|Claimed|}} GDP'''&nbsp;(nominal)</td> <td>{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate</td> </tr> <tr class="mergedrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Total</td> <td>{{{GDP_nominal}}}<!-- -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}</td> </tr><!-- -------(Nominal per capita)------- -->{{#if:{{{GDP_nominal_per_capita|}}} | <tr class="mergedbottomrow"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Per capita</td> <td>{{{GDP_nominal_per_capita}}}<!-- -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}}</td> </tr><!-- -->}}<!-- -->}}<!-- ============================================================ Gini ============================================================ -->{{#if:{{{Gini|}}} | <tr> <td colspan="2">'''[[Gini_coefficient|Gini]]'''<!-- -->{{#if:{{{Gini_year|}}} |&nbsp;({{{Gini_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if Gini_change provided):----- --><td>{{#switch:{{{Gini_change|}}} |increase = {{increaseNegative}}&nbsp;<!-- -->|decrease = {{decreasePositive}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add Gini (and Gini_ref if supplied):------- -->{{{Gini}}}{{{Gini_ref|}}}<br/><!-- ---------Evaluate and add Gini category:---------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{Gini}}}>100 <!-- -->| {{error|Error: Gini value above 100}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{Gini}}}>=60 |{{color|red|very high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=46 <!-- -->| {{color|darkred|high}}<!-- -->| {{#ifexpr:{{{Gini}}}>=30 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{Gini}}}>=0 <!-- -->| {{color|forestgreen|low}}<!-- -->| {{error|Error:Gini value below 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid Gini value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- -----------Add Gini_rank (if supplied):---------- -->{{#if:{{{Gini_rank|}}} |{{·}}[[List of countries by income equality|{{{Gini_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ HDI ============================================================ -->{{#if:{{{HDI|}}} | <tr> <td colspan="2"><!-- -->'''[[Human Development Index|HDI]]''' <!-- -->{{#if:{{{HDI_year|}}} |({{{HDI_year}}})}}</td><!-- -----Include increase/decrease/steady icon (if HDI_change provided):----- --><td>{{#switch:{{{HDI_change|}}} |increase = {{increase}}&nbsp;<!-- -->|decrease = {{decrease}}&nbsp;<!-- -->|steady = {{steady}}&nbsp;<!-- -->}}<!-- -------Add HDI (and HDI_ref if supplied):------- -->{{{HDI}}}{{{HDI_ref|}}}<br/><!-- ---------Evaluate and add HDI category:--------- --><span style="white-space:nowrap;"><!-- -->{{#iferror:<!-- -->{{#ifexpr:{{{HDI}}}>1 <!-- -->| {{error|Error: HDI value greater than 1}}<!--Handled by outer #iferror, not visible to users--><!-- -->| {{#ifexpr:{{{HDI}}}>0.801 <!-- -->| {{color|darkgreen|very high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.711 <!-- -->| {{color|forestgreen|high}}<!-- -->| {{#ifexpr:{{{HDI}}}>0.535 <!-- -->| {{color|orange|medium}}<!-- -->| {{#ifexpr:{{{HDI}}}>=0.000<!-- -->| {{color|red|low}}<!-- -->| {{error|Error: HDI value less than 0}}<!--Handled by outer #iferror, not visible to users--><!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| {{error|Error: Invalid HDI value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!-- -->}}<!-- --></span><!-- ----------Add HDI_rank (if supplied):----------- -->{{#if:{{{HDI_rank|}}} |{{·}}[[List of countries by Human Development Index|{{{HDI_rank}}}]]<!-- -->}}<!-- --></td> </tr><!-- -->}}<!-- ============================================================ Currency ============================================================ -->{{#if:{{{currency|}}} | <tr> <th colspan="2" style="vertical-align:middle;">{{#ifeq:{{{micronation|}}}|yes|Purported|}} Currency</th> <td>{{{currency}}} {{#if:{{{currency_code|}}} |(<code>[[ISO 4217|{{{currency_code}}}]]</code>)}}</td> </tr><!-- -->}}<!-- ============================================================ Time zone ============================================================ -->{{#if:{{{time_zone|}}}{{{utc_offset|}}} | <tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |class="mergedtoprow"}}> <th colspan="2">Time zone</th> <td>{{{time_zone|}}} <!-- -->{{#if:{{{utc_offset|}}} |{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!-- -->}}</td> </tr><!-- -->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} | <tr class="{{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}"> <td style="width:1.0em;padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0;">Summer&nbsp;([[Daylight saving time|DST]])</td> <td>{{{DST|{{{time_zone_DST|}}}}}}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})</td> </tr><!-- -->}}<!-- -->}}<!-- -->{{#if:{{{DST_note|}}} | <tr class="mergedbottomrow"> <td colspan="2"></td> <td>{{{DST_note}}}</td> </tr><!-- -->}}<!-- ============================================================ Antipodes ============================================================ -->{{#if:{{{antipodes|}}} | <tr> <th colspan="2">[[Antipodes]]</th> <td>{{{antipodes}}}</td> </tr><!-- -->}}<!-- ============================================================ Date format ============================================================ -->{{#if:{{{date_format|}}} | <tr> <th colspan="2">Date format</th> <td>{{{date_format}}}</td> </tr><!-- -->}}<!-- ============================================================ Rule of the road ============================================================ -->{{#if:{{{drives_on|}}} | <tr> <th colspan="2">Drives on the</th> <td>{{lcfirst:{{{drives_on}}}}}</td> </tr><!-- -->}}<!-- ============================================================ Calling code ============================================================ -->{{#if:{{{calling_code|}}} | <tr> <th colspan="2"><!-- -->{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | [[Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code]] | Calling code }}</th> <td>{{{calling_code}}}</td> </tr><!-- -->}}<!-- ============================================================ Patron saint/s ============================================================ -->{{#if:{{{patron_saint|{{{patron_saints|}}}}}} | <tr> <th colspan="2" >[[Patron saint]]{{#if:{{{patron_saints|}}}|s}}</th> <td>{{{patron_saint|{{{patron_saints}}}}}}</td> </tr><!-- -->}}<!-- ============================================================ ISO 3166 code ============================================================ -->{{#switch:{{{iso3166code|}}} |omit = <!--(do nothing)--> | = <!--if iso3166code is not supplied: -->{{#if:{{{common_name|}}} | {{#ifexist:Template:ISO 3166 code {{{common_name|}}} | <tr class="mergedtoprow"> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{ISO 3166 code {{{common_name}}}}}|{{ISO 3166 code {{{common_name}}}}}]]</td> </tr> }} }} |#default = <tr> <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th> <td>[[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]</td> </tr> }}<!-- ============================================================ Internet TLD ============================================================ -->{{#if:{{{cctld|}}} | <tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th> <td>{{{cctld}}}</td> </tr><!-- -->}}<!-- ============================================================ Official website (geopolitical organization) ============================================================ -->{{#if:{{{official_website|}}} | <tr> <td colspan="3" style="text-align:center;line-height:11pt;"><!-- -->'''Website'''<br/>{{{official_website}}}</td> </tr><!-- -->}}<!-- ============================================================ Bottom map ============================================================ -->{{#if:{{{image_map3|}}} | <tr class="mergedtoprow"> <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!-- -->[[File:{{{image_map3}}}|center<!-- -->|{{{map3_width|250px}}}<!-- -->|alt={{{alt_map3|}}}<!-- -->|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}<!-- -->]]<!-- --><div style="position:relative;top:0.3em;font-size:85%;">{{{map_caption3|}}}</div> </td> </tr><!-- -->}}<!-- ================================================================ Footnotes ================================================================ -------------------------------- Lettered -------------------------------- -->{{#if:{{{footnote_a|}}} | <tr style="font-size:xx-small;"> <td align="right">{{lower|0.3em|<sup>a.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_a}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_b|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_c|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>b.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_b}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_c|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_d|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>c.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_c}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_d|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_e|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>d.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_d}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_e|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_f|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>e.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_e}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_f|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_g|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup><big>f.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_f}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_g|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote_h|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>g.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_g}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote_h|}}} | <tr style="font-size:xx-small;" class="mergedbottomrow"> <td align="right">{{lower|0.3em|<sup><big>h.</big></sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote_h}}}</td> </tr><!-- -->}}<!-- -------------------------------- Numbered -------------------------------- -->{{#if:{{{footnote1|}}} | <tr style="font-size:xx-small;"> <td align="right">{{lower|0.3em|<sup>1.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote2|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote3|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>2.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote3|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote4|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>3.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote4|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote5|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>4.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote5|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote6|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>5.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote6|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote7|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>6.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote7|}}} | <tr style="font-size:xx-small;" class="{{#if:{{{footnote8|}}} |mergedrow |mergedbottomrow}}"> <td align="right">{{lower|0.3em|<sup>7.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote7}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote8|}}} | <tr style="font-size:xx-small;" class="mergedbottomrow"> <td align="right">{{lower|0.3em|<sup>8.</sup>}}</td> <td colspan="2" style="padding-left:0;">{{{footnote8}}}</td> </tr><!-- -->}}<!-- -------------------------------- Non-specific -------------------------------- -->{{#if:{{{footnotes|}}} | <tr> <td colspan="3" style="font-size:85%;">{{{footnotes}}}</td> </tr><!-- -->}}<!-- ============================================================ Navbar ============================================================ -->{{#if:{{{navbar|}}} | <tr class="mergedtoprow noprint"> <td colspan="3" style="text-align:center;">{{navbar|{{{navbar|}}}}}</td> </tr><!-- -->}}<!-- --></table><noinclude> {{documentation}} </noinclude> f7c51ad50a946de947e19badefeec1eef38d0580 Module:Arguments 828 13 14 2019-12-18T18:08:55Z Rubikia 30444800 Created page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke..." Scribunto text/plain -- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val == '' then return nil else return val end else return val end end local function tidyValTrimOnly(key, val) if type(val) == 'string' then return val:match('^%s*(.-)%s*$') else return val end end local function tidyValRemoveBlanksOnly(key, val) if type(val) == 'string' then if val:find('%S') then return val else return nil end else return val end end local function tidyValNoChange(key, val) return val end local function matchesTitle(given, title) local tp = type( given ) return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title end local translate_mt = { __index = function(t, k) return k end } function arguments.getArgs(frame, options) checkType('getArgs', 1, frame, 'table', true) checkType('getArgs', 2, options, 'table', true) frame = frame or {} options = options or {} --[[ -- Set up argument translation. --]] options.translate = options.translate or {} if getmetatable(options.translate) == nil then setmetatable(options.translate, translate_mt) end if options.backtranslate == nil then options.backtranslate = {} for k,v in pairs(options.translate) do options.backtranslate[v] = k end end if options.backtranslate and getmetatable(options.backtranslate) == nil then setmetatable(options.backtranslate, { __index = function(t, k) if options.translate[k] ~= k then return nil else return k end end }) end --[[ -- Get the argument tables. If we were passed a valid frame object, get the -- frame arguments (fargs) and the parent frame arguments (pargs), depending -- on the options set and on the parent frame's availability. If we weren't -- passed a valid frame object, we are being called from another Lua module -- or from the debug console, so assume that we were passed a table of args -- directly, and assign it to a new variable (luaArgs). --]] local fargs, pargs, luaArgs if type(frame.args) == 'table' and type(frame.getParent) == 'function' then if options.wrappers then --[[ -- The wrappers option makes Module:Arguments look up arguments in -- either the frame argument table or the parent argument table, but -- not both. This means that users can use either the #invoke syntax -- or a wrapper template without the loss of performance associated -- with looking arguments up in both the frame and the parent frame. -- Module:Arguments will look up arguments in the parent frame -- if it finds the parent frame's title in options.wrapper; -- otherwise it will look up arguments in the frame object passed -- to getArgs. --]] local parent = frame:getParent() if not parent then fargs = frame.args else local title = parent:getTitle():gsub('/sandbox$', '') local found = false if matchesTitle(options.wrappers, title) then found = true elseif type(options.wrappers) == 'table' then for _,v in pairs(options.wrappers) do if matchesTitle(v, title) then found = true break end end end -- We test for false specifically here so that nil (the default) acts like true. if found or options.frameOnly == false then pargs = parent.args end if not found or options.parentOnly == false then fargs = frame.args end end else -- options.wrapper isn't set, so check the other options. if not options.parentOnly then fargs = frame.args end if not options.frameOnly then local parent = frame:getParent() pargs = parent and parent.args or nil end end if options.parentFirst then fargs, pargs = pargs, fargs end else luaArgs = frame end -- Set the order of precedence of the argument tables. If the variables are -- nil, nothing will be added to the table, which is how we avoid clashes -- between the frame/parent args and the Lua args. local argTables = {fargs} argTables[#argTables + 1] = pargs argTables[#argTables + 1] = luaArgs --[[ -- Generate the tidyVal function. If it has been specified by the user, we -- use that; if not, we choose one of four functions depending on the -- options chosen. This is so that we don't have to call the options table -- every time the function is called. --]] local tidyVal = options.valueFunc if tidyVal then if type(tidyVal) ~= 'function' then error( "bad value assigned to option 'valueFunc'" .. '(function expected, got ' .. type(tidyVal) .. ')', 2 ) end elseif options.trim ~= false then if options.removeBlanks ~= false then tidyVal = tidyValDefault else tidyVal = tidyValTrimOnly end else if options.removeBlanks ~= false then tidyVal = tidyValRemoveBlanksOnly else tidyVal = tidyValNoChange end end --[[ -- Set up the args, metaArgs and nilArgs tables. args will be the one -- accessed from functions, and metaArgs will hold the actual arguments. Nil -- arguments are memoized in nilArgs, and the metatable connects all of them -- together. --]] local args, metaArgs, nilArgs, metatable = {}, {}, {}, {} setmetatable(args, metatable) local function mergeArgs(tables) --[[ -- Accepts multiple tables as input and merges their keys and values -- into one table. If a value is already present it is not overwritten; -- tables listed earlier have precedence. We are also memoizing nil -- values, which can be overwritten if they are 's' (soft). --]] for _, t in ipairs(tables) do for key, val in pairs(t) do if metaArgs[key] == nil and nilArgs[key] ~= 'h' then local tidiedVal = tidyVal(key, val) if tidiedVal == nil then nilArgs[key] = 's' else metaArgs[key] = tidiedVal end end end end end --[[ -- Define metatable behaviour. Arguments are memoized in the metaArgs table, -- and are only fetched from the argument tables once. Fetching arguments -- from the argument tables is the most resource-intensive step in this -- module, so we try and avoid it where possible. For this reason, nil -- arguments are also memoized, in the nilArgs table. Also, we keep a record -- in the metatable of when pairs and ipairs have been called, so we do not -- run pairs and ipairs on the argument tables more than once. We also do -- not run ipairs on fargs and pargs if pairs has already been run, as all -- the arguments will already have been copied over. --]] metatable.__index = function (t, key) --[[ -- Fetches an argument when the args table is indexed. First we check -- to see if the value is memoized, and if not we try and fetch it from -- the argument tables. When we check memoization, we need to check -- metaArgs before nilArgs, as both can be non-nil at the same time. -- If the argument is not present in metaArgs, we also check whether -- pairs has been run yet. If pairs has already been run, we return nil. -- This is because all the arguments will have already been copied into -- metaArgs by the mergeArgs function, meaning that any other arguments -- must be nil. --]] if type(key) == 'string' then key = options.translate[key] end local val = metaArgs[key] if val ~= nil then return val elseif metatable.donePairs or nilArgs[key] then return nil end for _, argTable in ipairs(argTables) do local argTableVal = tidyVal(key, argTable[key]) if argTableVal ~= nil then metaArgs[key] = argTableVal return argTableVal end end nilArgs[key] = 'h' return nil end metatable.__newindex = function (t, key, val) -- This function is called when a module tries to add a new value to the -- args table, or tries to change an existing value. if type(key) == 'string' then key = options.translate[key] end if options.readOnly then error( 'could not write to argument table key "' .. tostring(key) .. '"; the table is read-only', 2 ) elseif options.noOverwrite and args[key] ~= nil then error( 'could not write to argument table key "' .. tostring(key) .. '"; overwriting existing arguments is not permitted', 2 ) elseif val == nil then --[[ -- If the argument is to be overwritten with nil, we need to erase -- the value in metaArgs, so that __index, __pairs and __ipairs do -- not use a previous existing value, if present; and we also need -- to memoize the nil in nilArgs, so that the value isn't looked -- up in the argument tables if it is accessed again. --]] metaArgs[key] = nil nilArgs[key] = 'h' else metaArgs[key] = val end end local function translatenext(invariant) local k, v = next(invariant.t, invariant.k) invariant.k = k if k == nil then return nil elseif type(k) ~= 'string' or not options.backtranslate then return k, v else local backtranslate = options.backtranslate[k] if backtranslate == nil then -- Skip this one. This is a tail call, so this won't cause stack overflow return translatenext(invariant) else return backtranslate, v end end end metatable.__pairs = function () -- Called when pairs is run on the args table. if not metatable.donePairs then mergeArgs(argTables) metatable.donePairs = true end return translatenext, { t = metaArgs } end local function inext(t, i) -- This uses our __index metamethod local v = t[i + 1] if v ~= nil then return i + 1, v end end metatable.__ipairs = function (t) -- Called when ipairs is run on the args table. return inext, t, 0 end return args end return arguments 3134ecce8429b810d445e29eae115e2ae4c36c53 Template:Br separated entries 10 14 15 2019-12-18T18:11:14Z Rubikia 30444800 Created page with "{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|br}}<noinclude> {{documentation}} </noinclude>" wikitext text/x-wiki {{<includeonly>safesubst:</includeonly>#invoke:Separated entries|br}}<noinclude> {{documentation}} </noinclude> 2019f7fc383259e70d66e43cbd97a43d20889f1b Module:Message box 828 15 16 2019-12-18T18:12:39Z Rubikia 30444800 Created page with "-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary mo..." Scribunto text/plain -- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary modules. require('Module:No globals') local getArgs local yesno = require('Module:Yesno') -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage() -- Define constants local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local function getTitleObject(...) -- Get the title object, passing the function through pcall -- in case we are over the expensive function count limit. local success, title = pcall(mw.title.new, ...) if success then return title end end local function union(t1, t2) -- Returns the union of two arrays. local vals = {} for i, v in ipairs(t1) do vals[v] = true end for i, v in ipairs(t2) do vals[v] = true end local ret = {} for k in pairs(vals) do table.insert(ret, k) end table.sort(ret) return ret end local function getArgNums(args, prefix) local nums = {} for k, v in pairs(args) do local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$') if num then table.insert(nums, tonumber(num)) end end table.sort(nums) return nums end -------------------------------------------------------------------------------- -- Box class definition -------------------------------------------------------------------------------- local MessageBox = {} MessageBox.__index = MessageBox function MessageBox.new(boxType, args, cfg) args = args or {} local obj = {} -- Set the title object and the namespace. obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle() -- Set the config for our box type. obj.cfg = cfg[boxType] if not obj.cfg then local ns = obj.title.namespace -- boxType is "mbox" or invalid input if args.demospace and args.demospace ~= '' then -- implement demospace parameter of mbox local demospace = string.lower(args.demospace) if DEMOSPACES[demospace] then -- use template from DEMOSPACES obj.cfg = cfg[DEMOSPACES[demospace]] elseif string.find( demospace, 'talk' ) then -- demo as a talk page obj.cfg = cfg.tmbox else -- default to ombox obj.cfg = cfg.ombox end elseif ns == 0 then obj.cfg = cfg.ambox -- main namespace elseif ns == 6 then obj.cfg = cfg.imbox -- file namespace elseif ns == 14 then obj.cfg = cfg.cmbox -- category namespace else local nsTable = mw.site.namespaces[ns] if nsTable and nsTable.isTalk then obj.cfg = cfg.tmbox -- any talk namespace else obj.cfg = cfg.ombox -- other namespaces or invalid input end end end -- Set the arguments, and remove all blank arguments except for the ones -- listed in cfg.allowBlankParams. do local newArgs = {} for k, v in pairs(args) do if v ~= '' then newArgs[k] = v end end for i, param in ipairs(obj.cfg.allowBlankParams or {}) do newArgs[param] = args[param] end obj.args = newArgs end -- Define internal data structure. obj.categories = {} obj.classes = {} -- For lazy loading of [[Module:Category handler]]. obj.hasCategories = false return setmetatable(obj, MessageBox) end function MessageBox:addCat(ns, cat, sort) if not cat then return nil end if sort then cat = string.format('[[Category:%s|%s]]', cat, sort) else cat = string.format('[[Category:%s]]', cat) end self.hasCategories = true self.categories[ns] = self.categories[ns] or {} table.insert(self.categories[ns], cat) end function MessageBox:addClass(class) if not class then return nil end table.insert(self.classes, class) end function MessageBox:setParameters() local args = self.args local cfg = self.cfg -- Get type data. self.type = args.type local typeData = cfg.types[self.type] self.invalidTypeError = cfg.showInvalidTypeError and self.type and not typeData typeData = typeData or cfg.types[cfg.default] self.typeClass = typeData.class self.typeImage = typeData.image -- Find if the box has been wrongly substituted. self.isSubstituted = cfg.substCheck and args.subst == 'SUBST' -- Find whether we are using a small message box. self.isSmall = cfg.allowSmall and ( cfg.smallParam and args.small == cfg.smallParam or not cfg.smallParam and yesno(args.small) ) -- Add attributes, classes and styles. self.id = args.id self.name = args.name if self.name then self:addClass('box-' .. string.gsub(self.name,' ','_')) end if yesno(args.plainlinks) ~= false then self:addClass('plainlinks') end for _, class in ipairs(cfg.classes or {}) do self:addClass(class) end if self.isSmall then self:addClass(cfg.smallClass or 'mbox-small') end self:addClass(self.typeClass) self:addClass(args.class) self.style = args.style self.attrs = args.attrs -- Set text style. self.textstyle = args.textstyle -- Find if we are on the template page or not. This functionality is only -- used if useCollapsibleTextFields is set, or if both cfg.templateCategory -- and cfg.templateCategoryRequireName are set. self.useCollapsibleTextFields = cfg.useCollapsibleTextFields if self.useCollapsibleTextFields or cfg.templateCategory and cfg.templateCategoryRequireName then if self.name then local templateName = mw.ustring.match( self.name, '^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$' ) or self.name templateName = 'Template:' .. templateName self.templateTitle = getTitleObject(templateName) end self.isTemplatePage = self.templateTitle and mw.title.equals(self.title, self.templateTitle) end -- Process data for collapsible text fields. At the moment these are only -- used in {{ambox}}. if self.useCollapsibleTextFields then -- Get the self.issue value. if self.isSmall and args.smalltext then self.issue = args.smalltext else local sect if args.sect == '' then sect = 'This ' .. (cfg.sectionDefault or 'page') elseif type(args.sect) == 'string' then sect = 'This ' .. args.sect end local issue = args.issue issue = type(issue) == 'string' and issue ~= '' and issue or nil local text = args.text text = type(text) == 'string' and text or nil local issues = {} table.insert(issues, sect) table.insert(issues, issue) table.insert(issues, text) self.issue = table.concat(issues, ' ') end -- Get the self.talk value. local talk = args.talk -- Show talk links on the template page or template subpages if the talk -- parameter is blank. if talk == '' and self.templateTitle and ( mw.title.equals(self.templateTitle, self.title) or self.title:isSubpageOf(self.templateTitle) ) then talk = '#' elseif talk == '' then talk = nil end if talk then -- If the talk value is a talk page, make a link to that page. Else -- assume that it's a section heading, and make a link to the talk -- page of the current page with that section heading. local talkTitle = getTitleObject(talk) local talkArgIsTalkPage = true if not talkTitle or not talkTitle.isTalkPage then talkArgIsTalkPage = false talkTitle = getTitleObject( self.title.text, mw.site.namespaces[self.title.namespace].talk.id ) end if talkTitle and talkTitle.exists then local talkText = 'Relevant discussion may be found on' if talkArgIsTalkPage then talkText = string.format( '%s [[%s|%s]].', talkText, talk, talkTitle.prefixedText ) else talkText = string.format( '%s the [[%s#%s|talk page]].', talkText, talkTitle.prefixedText, talk ) end self.talk = talkText end end -- Get other values. self.fix = args.fix ~= '' and args.fix or nil local date if args.date and args.date ~= '' then date = args.date elseif args.date == '' and self.isTemplatePage then date = lang:formatDate('F Y') end if date then self.date = string.format(" <small class='date-container'>''(<span class='date'>%s</span>)''</small>", date) end self.info = args.info if yesno(args.removalnotice) then self.removalNotice = cfg.removalNotice end end -- Set the non-collapsible text field. At the moment this is used by all box -- types other than ambox, and also by ambox when small=yes. if self.isSmall then self.text = args.smalltext or args.text else self.text = args.text end -- Set the below row. self.below = cfg.below and args.below -- General image settings. self.imageCellDiv = not self.isSmall and cfg.imageCellDiv self.imageEmptyCell = cfg.imageEmptyCell if cfg.imageEmptyCellStyle then self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px' end -- Left image settings. local imageLeft = self.isSmall and args.smallimage or args.image if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none' or not cfg.imageCheckBlank and imageLeft ~= 'none' then self.imageLeft = imageLeft if not imageLeft then local imageSize = self.isSmall and (cfg.imageSmallSize or '30x30px') or '40x40px' self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage or 'Imbox notice.png', imageSize) end end -- Right image settings. local imageRight = self.isSmall and args.smallimageright or args.imageright if not (cfg.imageRightNone and imageRight == 'none') then self.imageRight = imageRight end end function MessageBox:setMainspaceCategories() local args = self.args local cfg = self.cfg if not cfg.allowMainspaceCategories then return nil end local nums = {} for _, prefix in ipairs{'cat', 'category', 'all'} do args[prefix .. '1'] = args[prefix] nums = union(nums, getArgNums(args, prefix)) end -- The following is roughly equivalent to the old {{Ambox/category}}. local date = args.date date = type(date) == 'string' and date local preposition = 'from' for _, num in ipairs(nums) do local mainCat = args['cat' .. tostring(num)] or args['category' .. tostring(num)] local allCat = args['all' .. tostring(num)] mainCat = type(mainCat) == 'string' and mainCat allCat = type(allCat) == 'string' and allCat if mainCat and date and date ~= '' then local catTitle = string.format('%s %s %s', mainCat, preposition, date) self:addCat(0, catTitle) catTitle = getTitleObject('Category:' .. catTitle) if not catTitle or not catTitle.exists then self:addCat(0, 'Articles with invalid date parameter in template') end elseif mainCat and (not date or date == '') then self:addCat(0, mainCat) end if allCat then self:addCat(0, allCat) end end end function MessageBox:setTemplateCategories() local args = self.args local cfg = self.cfg -- Add template categories. if cfg.templateCategory then if cfg.templateCategoryRequireName then if self.isTemplatePage then self:addCat(10, cfg.templateCategory) end elseif not self.title.isSubpage then self:addCat(10, cfg.templateCategory) end end -- Add template error categories. if cfg.templateErrorCategory then local templateErrorCategory = cfg.templateErrorCategory local templateCat, templateSort if not self.name and not self.title.isSubpage then templateCat = templateErrorCategory elseif self.isTemplatePage then local paramsToCheck = cfg.templateErrorParamsToCheck or {} local count = 0 for i, param in ipairs(paramsToCheck) do if not args[param] then count = count + 1 end end if count > 0 then templateCat = templateErrorCategory templateSort = tostring(count) end if self.categoryNums and #self.categoryNums > 0 then templateCat = templateErrorCategory templateSort = 'C' end end self:addCat(10, templateCat, templateSort) end end function MessageBox:setAllNamespaceCategories() -- Set categories for all namespaces. if self.invalidTypeError then local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort) end if self.isSubstituted then self:addCat('all', 'Pages with incorrectly substituted templates') end end function MessageBox:setCategories() if self.title.namespace == 0 then self:setMainspaceCategories() elseif self.title.namespace == 10 then self:setTemplateCategories() end self:setAllNamespaceCategories() end function MessageBox:renderCategories() if not self.hasCategories then -- No categories added, no need to pass them to Category handler so, -- if it was invoked, it would return the empty string. -- So we shortcut and return the empty string. return "" end -- Convert category tables to strings and pass them through -- [[Module:Category handler]]. return require('Module:Category handler')._main{ main = table.concat(self.categories[0] or {}), template = table.concat(self.categories[10] or {}), all = table.concat(self.categories.all or {}), nocat = self.args.nocat, page = self.args.page } end function MessageBox:export() local root = mw.html.create() -- Add the subst check error. if self.isSubstituted and self.name then root:tag('b') :addClass('error') :wikitext(string.format( 'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.', mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}') )) end -- Create the box table. local boxTable = root:tag('table') boxTable:attr('id', self.id or nil) for i, class in ipairs(self.classes or {}) do boxTable:addClass(class or nil) end boxTable :cssText(self.style or nil) :attr('role', 'presentation') if self.attrs then boxTable:attr(self.attrs) end -- Add the left-hand image. local row = boxTable:tag('tr') if self.imageLeft then local imageLeftCell = row:tag('td'):addClass('mbox-image') if self.imageCellDiv then -- If we are using a div, redefine imageLeftCell so that the image -- is inside it. Divs use style="width: 52px;", which limits the -- image width to 52px. If any images in a div are wider than that, -- they may overlap with the text or cause other display problems. imageLeftCell = imageLeftCell:tag('div'):css('width', '52px') end imageLeftCell:wikitext(self.imageLeft or nil) elseif self.imageEmptyCell then -- Some message boxes define an empty cell if no image is specified, and -- some don't. The old template code in templates where empty cells are -- specified gives the following hint: "No image. Cell with some width -- or padding necessary for text cell to have 100% width." row:tag('td') :addClass('mbox-empty-cell') :cssText(self.imageEmptyCellStyle or nil) end -- Add the text. local textCell = row:tag('td'):addClass('mbox-text') if self.useCollapsibleTextFields then -- The message box uses advanced text parameters that allow things to be -- collapsible. At the moment, only ambox uses this. textCell:cssText(self.textstyle or nil) local textCellDiv = textCell:tag('div') textCellDiv :addClass('mbox-text-span') :wikitext(self.issue or nil) if (self.talk or self.fix) and not self.isSmall then textCellDiv:tag('span') :addClass('hide-when-compact') :wikitext(self.talk and (' ' .. self.talk) or nil) :wikitext(self.fix and (' ' .. self.fix) or nil) end textCellDiv:wikitext(self.date and (' ' .. self.date) or nil) if self.info and not self.isSmall then textCellDiv :tag('span') :addClass('hide-when-compact') :wikitext(self.info and (' ' .. self.info) or nil) end if self.removalNotice then textCellDiv:tag('small') :addClass('hide-when-compact') :tag('i') :wikitext(string.format(" (%s)", self.removalNotice)) end else -- Default text formatting - anything goes. textCell :cssText(self.textstyle or nil) :wikitext(self.text or nil) end -- Add the right-hand image. if self.imageRight then local imageRightCell = row:tag('td'):addClass('mbox-imageright') if self.imageCellDiv then -- If we are using a div, redefine imageRightCell so that the image -- is inside it. imageRightCell = imageRightCell:tag('div'):css('width', '52px') end imageRightCell :wikitext(self.imageRight or nil) end -- Add the below row. if self.below then boxTable:tag('tr') :tag('td') :attr('colspan', self.imageRight and '3' or '2') :addClass('mbox-text') :cssText(self.textstyle or nil) :wikitext(self.below or nil) end -- Add error message for invalid type parameters. if self.invalidTypeError then root:tag('div') :css('text-align', 'center') :wikitext(string.format( 'This message box is using an invalid "type=%s" parameter and needs fixing.', self.type or '' )) end -- Add categories. root:wikitext(self:renderCategories() or nil) return tostring(root) end -------------------------------------------------------------------------------- -- Exports -------------------------------------------------------------------------------- local p, mt = {}, {} function p._exportClasses() -- For testing. return { MessageBox = MessageBox } end function p.main(boxType, args, cfgTables) local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE)) box:setParameters() box:setCategories() return box:export() end function mt.__index(t, k) return function (frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return t.main(k, getArgs(frame, {trim = false, removeBlanks = false})) end end return setmetatable(p, mt) aab916b126b6306dc8b5e6b2f81f992e2ca90342 Template:Infobox former country 10 16 17 2019-12-18T18:14:05Z Rubikia 30444800 Created page with "{| class="infobox geography vcard vevent" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px;" font-size:88%;" |- class="mergedtoprow" <!--------..." wikitext text/x-wiki {| class="infobox geography vcard vevent" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px;" font-size:88%;" |- class="mergedtoprow" <!----------------- Headings (names) ------------------> |colspan="3" class="fn org summary" style="text-align:center; line-height:1.2em; font-size:135%; font-weight:bold;"| <!-- -->{{#if:{{{conventional_long_name<includeonly>|</includeonly>}}} | {{{conventional_long_name}}} | {{#if:{{{native_name|}}} | {{{native_name}}} | ''Error: No name(s) given'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|N]]}} }} }} |- class="mergedbottomrow" {{#if:{{both|{{{conventional_long_name<includeonly>|</includeonly>}}}|{{{native_name<includeonly>|</includeonly>}}}}}|{{!}}colspan="3" class="fn org summary" style="text-align:center; line-height:1.2em; font-size:115%; font-weight:bold;"{{!}} {{{native_name}}} }} |- <!--------------- Status as a dependency, colony, vassal etc. Categorisation of this entry is handled in [[Template:Infobox former country/autocat]]. This section here is just what will be displayed in the infobox. This has been split up to make the code look clearer. Also, not all statuses need to be displayed (although the optional status_text field will work, regardless of status) ----------------> {{#if:{{{status<includeonly>|</includeonly>}}} | {{#if:{{{status_text|}}}{{{empire|}}} |{{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}} |{{#switch:{{ucfirst:{{{status|}}}}} <!----Values for "status" given in the first line of this #switch will not display the status bar IF nothing is given for "status_text" OR "empire":----> |Empire |Federation |Federal |Confederation |State union |State Union |Union |City-state |City state |City State |City= |#default={{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}} <!-- -->}}<!-- -->}}<!-- Display contents of status bar. Values placed in the first line of the above switch should have their values commented out (within the status_text check): -->{{#if:{{{status_text|}}} |{{{status_text}}} |{{#switch:{{ucfirst:{{{status|}}}}} |Empire=<!--Empire--> |Nomadic empire|Nomadic Empire=[[Nomadic empire]] |Ancient Chinese state |Ancient Chinese State=[[Ancient Chinese state]] |Federation |Federal=<!--Federation--> |Confederation=<!--Confederation--> |State union |State Union |Union=<!--State union--> |Special |Special territory=<!--Special territory--> |Unrecognized state |Unrecognised state |Unrecognized State |Unrecognised State |Unrecognized |Unrecognised=[[List of states with limited recognition|Unrecognized state]] |City-state |City-State |City state |City State |City={{#if:{{{empire|}}} | {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Free Imperial City]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<br/><small>(until 1806)</small>}}|}} |#default=City-state {{#if:{{{empire|}}}|of [[{{{empire}}}]]|}} }} |<!--City-state--> }} |Commonwealth realm |Commonwealth Realm=[[Commonwealth Realm]] |League of Nations Mandate |League of Nations |Mandate={{#if:{{{empire|}}} | [[League of Nations mandate|Mandate]] of&nbsp;{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }} | [[League of Nations mandate]] }} |United Nations Trust Territory| UN Trust Territory |Trust Territory=[[United Nations Trust Territories|Trust Territory]]<!-- -->{{#if:{{{empire|}}} |&nbsp;of&nbsp;{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |United States |US |USA=the [[United States]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }} }} |Protectorate=Protectorate of&nbsp;<!-- -->{{#if:{{{empire|}}} |{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |United States |US |USA=the [[United States]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }} |whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}} }} |Client |Client state |Client State |Puppet |Puppet-state |Puppet state={{#if:{{{empire|}}} | {{#switch:{{{empire}}} |First French Empire |France=[[French client republic|Client]] of the [[First French Empire]] |#default=[[Puppet state]] of {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }} | Puppet state ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}} }} |Vassal={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[States of the Holy Roman Empire|State]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<small>(until 1806)</small>}}|}} |#default=Vassal{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |Fief={{#switch:{{{empire|}}} |#default=Fief{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |Abbey={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Imperial Abbey]] of the [[Holy Roman Empire]] {{Main other|[[Category:Imperial abbeys|{{{common_name}}}]]}} |#default=Abbey{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |Satellite state |Satellite State |Satellite= Satellite state of the [[Soviet Union]] |Colony={{#switch:{{ucfirst:{{{empire}}}}} |United Kingdom |UK |British Empire |Britain=[[Territorial evolution of the British Empire|British colony]] |England=[[English overseas possessions|English colony]] |France |First French Empire| French Empire=[[French colonial empire|French colony]] |NL |Netherlands |The Netherlands=[[Dutch Empire|Dutch colony]] |Belgium=[[Belgian colonial empire|Belgian colony]] |Spain |Spanish Empire=[[Spanish Empire|Spanish colony]] |Portugal=[[Portuguese Empire|Portuguese colony]] |Germany |German Empire=[[German colonial empire|German colony]] |Italy=[[Italian Empire|Italian colony]] |Sweden=[[Swedish overseas colonies|Swedish colony]] |Denmark=[[Danish colonial empire|Danish colony]] |Norway=[[Norwegian Empire|Norwegian colony]] |Russia=[[Russian Empire|Russian colony]] |Japan=[[Empire of Japan|Japanese colony]] |#default=Colony ({{#if:{{{empire|}}} |{{{empire}}}) |''of whom?'') {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}} }} }} |Provisional Government |Provisional government |Provisional=[[Provisional government]] |Exiled Government |Exiled government |Exile={{#if:{{{year_exile_start|}}} | [[Government in exile|In exile]] {{#if:{{{year_exile_end|}}} |({{{year_exile_start}}}{{spaced ndash}}{{{year_exile_end}}}) |since {{{year_exile_start}}} }} | [[Government in exile]] }} |#default={{{status}}} }} }}{{#if:{{{status_text|}}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Colony|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Exile|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}}}}}}} }} |- <!--------------- Start and end dates of the subdivision plus icons of preceding and succeeding entities (if "successorflags" parameter is used) For the preceding and succeeding entities, give as input the name the territory. If there is already flag at "Image:Flag of _.svg" no address to that image needs to be provided. ----------------> |colspan="3" style="vertical-align:middle; text-align:center; border-top:solid 1px #aaa; padding:0.2em 0em 0.2em 0em;"| {| style="width:100%; text-align:center; margin:0 auto; background:transparent;" |- | style="width:50px; border:0; vertical-align:middle; font-size:30%; line-height:105%;"| {{#ifeq:{{{successorflags|}}}|yes|{{#if:{{{p1|}}}|[[{{{p1}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|30px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link={{{p1}}}|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link={{{p1}}}|alt=]]}}}}<br/>}}{{#if:{{{p2|}}}|&nbsp;<br/>[[{{{p2}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p2|}}}|[[File:{{{flag_p2}}}|30px{{#ifeq:{{{border_p2}}}|no||{{!}}border}}|link={{{p2}}}|alt=]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p2}}}|no||{{!}}border}}|link={{{p2}}}|alt=]]}}}}<br/>}}{{#if:{{{p3|}}}|&nbsp;<br/>[[{{{p3}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p3|}}}|[[File:{{{flag_p3}}}|30px{{#ifeq:{{{border_p3}}}|no||{{!}}border}}|link={{{p3}}}|alt=]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p3}}}|no||{{!}}border}}|link={{{p3}}}|alt=]]}}}}<br/>}}{{#if:{{{p4|}}}|&nbsp;<br/>[[{{{p4}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p4|}}}|[[File:{{{flag_p4}}}|30px{{#ifeq:{{{border_p4}}}|no||{{!}}border}}|link={{{p4}}}|alt=]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p4}}}|no||{{!}}border}}|link={{{p4}}}|alt=]]}}}}<br/>}}{{#if:{{{p5|}}}|&nbsp;<br/>[[{{{p5}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p5|}}}|[[File:{{{flag_p5}}}|30px{{#ifeq:{{{border_p5}}}|no||{{!}}border}}|link={{{p5}}}|alt=]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p5}}}|no||{{!}}border}}|link={{{p5}}}|alt=]]}}}}<br/>}}}} |style="vertical-align:middle; text-align:center; font-size:115%; border:0;" | {{#if:{{{year_end|}}}| {{#if:{{{life_span|}}}|'''{{{life_span}}}''' |'''{{#ifeq:{{{year_start|}}}|{{{year_end}}}|{{{year_start}}}|{{#if:{{{year_start|}}}|{{{year_start}}}–}}{{{year_end}}}}}'''}} |'''Life span?''' }} | style="width:50px; border:0; vertical-align:middle; text-align:right; line-height:105%; font-size:30%;"| {{#ifeq:{{{successorflags|}}}|yes|{{#if:{{{s1|}}}|{{#if:{{{flag_s1|}}}|[[File:{{{flag_s1}}}|30px{{#ifeq:{{{border_s1}}}|no||{{!}}border}}|link={{{s1}}}|alt=]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s1}}}|no||{{!}}border}}|link={{{s1}}}|alt=]]}}}} [[{{{s1}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s2|}}}|&nbsp;<br/>{{#if:{{{flag_s2|}}}|[[File:{{{flag_s2}}}|30px{{#ifeq:{{{border_s2}}}|no||{{!}}border}}|link={{{s2}}}|alt=]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s2}}}|no||{{!}}border}}|link={{{s2}}}|alt=]]}}}} [[{{{s2}}}|<span style="font-size:300%;">→</span>]]<br/>}} {{#if:{{{s3|}}}|&nbsp;<br/>{{#if:{{{flag_s3|}}}|[[File:{{{flag_s3}}}|30px{{#ifeq:{{{border_s3}}}|no||{{!}}border}}|link={{{s3}}}|alt=]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s3}}}|no||{{!}}border}}|link={{{s3}}}|alt=]]}}}} [[{{{s3}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s4|}}}|&nbsp;<br/>{{#if:{{{flag_s4|}}}|[[File:{{{flag_s4}}}|30px{{#ifeq:{{{border_s4}}}|no||{{!}}border}}|link={{{s4}}}|alt=]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s4}}}|no||{{!}}border}}|link={{{s4}}}|alt=]]}}}} [[{{{s4}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s5|}}}|&nbsp;<br/>{{#if:{{{flag_s5|}}}|[[File:{{{flag_s5}}}|30px{{#ifeq:{{{border_s5}}}|no||{{!}}border}}|link={{{s5}}}|alt=]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s5}}}|no||{{!}}border}}|link={{{s5}}}|alt=]]}}}} [[{{{s5}}}|<span style="font-size:300%;">→</span>]]<br/>}}}} |} <!---------------------- Flag and coat of arms -----------------------> {{#if:{{{image_flag<includeonly>|</includeonly>}}} | {{#if:{{{image_coat<includeonly>|</includeonly>}}} |<!--then:--> {{!}}- class="mergedtoprow" {{!}}colspan="3" class="maptable"{{!}} <!--start subtable:--> {{{!}} style="width:100%; text-align:center; margin:0 auto; background:none;" {{!}}- {{!}}style="text-align:center;border:0; vertical-align:middle;"{{!}} [[File:{{{image_flag|<noinclude>Sin bandera.svg</noinclude>}}}|{{{flag_size|125px}}}|alt={{{flag_alt|}}}|Flag{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}]]{{#if:{{{image_flag2|}}}|<br/><br/>[[File:{{{image_flag2}}}|{{{flag_size|125px}}}|alt={{{flag_alt2|}}}]]}} {{!}}style="text-align:center;border:0; vertical-align:middle;"{{!}} [[File:{{{image_coat|<noinclude>Sin escudo.svg</noinclude>}}}|{{{coa_size|85px}}}|alt={{{coat_alt|}}}|Coat of arms]] {{!}}- style="font-size:95%;" {{!}} style="border:0; text-align:center;"{{!}} {{#if:{{{flag|}}}|[[{{{flag}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of {{{common_name}}}|[[Flag of {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of the {{{common_name}}}|[[Flag of the {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]] |{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}}}}}}} {{!}} style="border:0; text-align:center;"{{!}} {{#if:{{{symbol|}}}|[[{{{symbol}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of {{{common_name}}}|[[Coat of arms of {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of the {{{common_name}}}|[[Coat of arms of the {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}}}}}}} <!--end subtable:--> {{!}}} |<!--else:--> {{!}}- class="mergedtoprow" {{!}}colspan="3" class="maptable" style="text-align:center"{{!}} [[File:{{{image_flag|<noinclude>Sin bandera.svg</noinclude>}}}|125px{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}|alt={{{flag_alt|}}}|Flag of {{{common_name}}}]]<br/>{{#if:{{{image_flag2|}}}|[[File:{{{image_flag2}}}|125px{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}|alt={{{flag_alt2|}}}|]]<br/>}} {{#if:{{{flag|}}}|[[{{{flag}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of {{{common_name}}}|[[Flag of {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of the {{{common_name}}}|[[Flag of the {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]] |{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}} }} }} }} }} }} |- {{#if:{{{image_flag|}}} | | {{#if:{{{image_coat|}}} | {{!}}colspan="3" class="maptable" style="text-align:center"{{!}} [[File:{{{image_coat|<noinclude>Sin escudo.svg</noinclude>}}}|{{{coa_size|85px}}}|alt={{{coat_alt|}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}} of {{{common_name}}}]] <br/> {{#if:{{{symbol|}}}|[[{{{symbol}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of {{{common_name}}}|[[Coat of arms of {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of the {{{common_name}}}|[[Coat of arms of the {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}} }} }} }} }} }} |- <!--------------- Motto ----------------> {{#if:{{{national_motto<includeonly>|</includeonly>}}} | {{!}}colspan="3" style="vertical-align:top; text-align:center; font-size:95%;"{{!}} '''Motto'''<br/>{{{national_motto}}} }} |- <!--------------- Anthem ----------------> {{#if:{{{national_anthem<includeonly>|</includeonly>}}} | {{!}}colspan="3" style="vertical-align:top; text-align:center; font-size:95%;"{{!}} '''Anthem'''<br/>{{#ifexist:{{{national_anthem}}} |[[{{{national_anthem}}}]] |{{{national_anthem}}} }} }} |- <!--------------- Map/s ----------------> {{#if:{{{image_map<includeonly>|</includeonly>}}} |{{!}}colspan="3" style="text-align:center; font-size:95%; padding:0.6em 0em 0.6em 0em;"{{!}}<!-- -->[[File:{{{image_map|<noinclude>Missing map.svg</noinclude>}}}|{{{image_map_size|250px}}}|center|alt={{{image_map_alt|}}}|Location of {{{common_name}}}]]<!-- -->{{#if:{{{image_map_caption<includeonly>|</includeonly>}}} |<div style="padding:0.5em 0.5em 0;line-height:1.25em;font-size:90%;">{{{image_map_caption}}}</div>}} | {{#if:{{{location_map|}}} |{{!}}colspan="3" style="text-align:center; font-size:95%; padding:0.6em 0em 0.6em 0em;"{{!}} {{{location_map}}} }} }} {{#if:{{{image_map2|}}} | {{!}}- class="mergedtoprow" {{!}}colspan="3" style="text-align:center; padding:0.6em 0em;"{{!}}<!-- -->[[File:{{{image_map2}}}|{{{image_map2_size|280px}}}|center|alt={{{image_map2_alt|}}}|Location of {{{common_name}}}]]<!-- -->{{#if:{{{image_map2_caption|}}} |<div style="padding-top:0.5em;line-height:1.25em;font-size:90%;">{{{image_map2_caption}}}</div>}}</small> }} <!--------------- Capital ----------------> |- {{#if:{{{capital_exile|}}} |class="mergedtoprow"}} {{#ifeq:{{{capital|}}}|omitted | | {{!}}colspan="2"{{!}} '''Capital''' <!----Width of column 3 (of 3) specified here:----> {{!}}style="width:50%;"{{!}} {{#if:{{{capital|}}} |{{#ifeq:{{{capital}}}|Unknown |''Unknown'' |{{#ifexist:{{{capital}}} |[[{{{capital|}}}]] |{{{capital|}}} }} }} |''Not specified''}} }} |- {{#ifeq:{{{capital|}}}|omitted | |class="mergedbottomrow"}} <!-----Capital-in-exile-----> {{#if:{{{capital_exile|}}} | {{!}}colspan="2"{{!}} '''Capital-in-exile''' {{!}} {{#ifexist:{{{capital_exile}}} |[[{{{capital_exile|}}}]] |{{{capital_exile|}}} }} }} |- <!----------------- Common languages ------------------> {{#if:{{{common_languages<includeonly>|</includeonly>}}} | {{!}}colspan="2"{{!}} '''Languages''' {{!}} {{#ifexist:{{{common_languages}}} language |[[{{{common_languages}}} language|{{{common_languages}}}]] |{{#ifexist:{{{common_languages}}} |[[{{{common_languages}}}]] |{{{common_languages}}} }} }} }} |- <!--------------- Religion ----------------> {{#if: {{{religion<includeonly>|</includeonly>}}}| {{!}}colspan="2"{{!}} '''Religion''' {{!}} {{#ifexist:{{{religion}}}|[[{{{religion}}}]]|{{{religion}}}}} }} |- <!--------------- Demonym ----------------> {{#if: {{{demonym<includeonly>|</includeonly>}}}| {{!}}colspan="2"{{!}} '''[[Demonym]]''' {{!}} {{#ifexist:{{{demonym}}} people|[[{{{demonym}}} people|{{{demonym}}}]]|{{{demonym}}}}} }} <!----------------------- Government and leaders ------------------------> |- {{#if:{{{title_leader|}}}{{{title_deputy|}}}{{{title_representative|}}} |class="mergedtoprow"}} |colspan="2"| '''{{#if:{{{government_type|}}} | Government | {{#if:{{{status|}}} |Political structure |Government}} }}''' | {{#if:{{{government_type|}}} | {{#switch:{{ucfirst:{{{government_type}}}}} |Constitutional monarchy |Constitutional Monarchy|Elective monarchy|Elective Monarchy |Absolute Monarchy |Absolute monarchy |Monarchy=[[{{{government_type}}}]] <!-- -->{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|{{#switch:{{{continent}}} |Europe=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]] |Asia=[[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]] |North America=[[Category:Former monarchies of North America|{{{common_name}}}, {{{year_start}}}]] |South America=[[Category:Former monarchies of South America|{{{common_name}}}, {{{year_start}}}]] |Africa=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]] |Oceania=[[Category:Former monarchies of Oceania|{{{common_name}}}, {{{year_start}}}]] |Eurasia=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]] |Afroasia=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]] |Afroeurasia=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]]|[[Category:Former monarchies|{{{common_name}}}, {{{year_start}}}]] }} }} }} |Republic|Federal Republic|Federal republic=[[Republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former republics|{{{common_name}}}, {{{year_start}}}]]}} }} |Principality= {{#switch:{{{empire}}} |Holy Roman Empire|HRE=[[Princes of the Holy Roman Empire|Principality]] |#default=[[Principality]] }} {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former principalities|{{{common_name}}}, {{{year_start}}}]]}} }} |Emirate=[[Emirate]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former emirates|{{{common_name}}}, {{{year_start}}}]]}} }} |Socialist republic |Socialist Republic |Socialist State |Socialist state=[[Socialist state|Socialist republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former socialist republics|{{{common_name}}}, {{{year_start}}}]]}} }} |Military dictatorship |Military Dictatorship |Dictatorship=[[Dictatorship]] |Theocracy=[[Theocracy]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former theocracies|{{{common_name}}}, {{{year_start}}}]]}} }} |Unknown=''Unknown'' |Various= |#default={{#ifexist:{{{government_type}}} |[[{{{government_type}}}]] |{{{government_type}}} }}<!----''Value specified for "government_type" [[Template:Infobox former country/doc#Politics|does not comply]]''---->{{ns0|[[Category:Former country articles requiring maintenance|G]]}} }} | {{#if:{{{status|}}} | {{#ifexist:{{{status}}} |[[{{{status}}}]] |{{{status}}} }} | ''Not specified'' }} }} |- class="{{#if:{{{year_leader1<includeonly>|</includeonly>}}}{{{leader2|}}}{{{deputy1|}}}{{{representative1|}}} |mergedrow|mergedbottomrow}}" <!----- Head of state ("leader" parameters). For colonies and dependant territories, this is still the head of the ruling entity (e.g. the head of state of a British colony is the British monarch). ------> {{#if:{{{leader1<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} <!-- -->'''{{#if:{{{title_leader<includeonly>|</includeonly>}}} | {{{title_leader}}} | {{#switch:{{{government_type}}} |Constitutional monarchy |Monarchy={{#ifexist:King of {{{common_name}}} |[[King of {{{common_name}}}{{!}}King]] |{{#ifexist:King of the {{{common_name}}} |[[King of the {{{common_name}}}{{!}}King]] |King}} }} | {{#ifexist:President of {{{common_name}}} |[[President of {{{common_name}}}{{!}}President]] |{{#ifexist:President of the {{{common_name}}} |[[President of the {{{common_name}}}{{!}}President]] |President}} }} }}<!-- -->}}''' {{#if:{{{year_leader1<includeonly>|</includeonly>}}} |{{!!}} |{{!!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{leader1}}} |[[{{{leader1}}}]] |{{{leader1}}}}}<!-- -->}} {{!}}- class="{{#if:{{{leader2|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{year_leader1<includeonly>|</includeonly>}}} <!----- Width of first column (for the dashes before names, events, etc) first defined here: ------> |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{{year_leader1}}} {{!}} {{#ifexist:{{{leader1}}}|[[{{{leader1}}}]]|{{{leader1}}}}} }} }} {{!}}- class="{{#if:{{{leader3|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader2|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader2|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader2}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader2}}} |[[{{{leader2}}}]] |{{{leader2}}} }} }} {{!}}- class="{{#if:{{{leader4|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader3|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader3|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader3}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader3}}} |[[{{{leader3}}}]] |{{{leader3}}} }} }} {{!}}- class="{{#if:{{{leader5|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader4|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader4|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader4}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader4}}} |[[{{{leader4}}}]] |{{{leader4}}} }} }} {{!}}- class="{{#if:{{{leader6|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader5|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader5|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader5}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader5}}} |[[{{{leader5}}}]] |{{{leader5}}} }} }} {{!}}- class="{{#if:{{{leader7|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader6|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader6|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader6}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader6}}} |[[{{{leader6}}}]] |{{{leader6}}} }} }} {{!}}- class="{{#if:{{{leader8|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader7|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader7|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader7}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader7}}} |[[{{{leader7}}}]] |{{{leader7}}} }} }} {{!}}- class="{{#if:{{{leader9<includeonly>|</includeonly>}}}{{{representative1|}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader8|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader8|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader8}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader8}}} |[[{{{leader8}}}]] |{{{leader8}}} }} }} {{!}}- class="{{#if:{{{deputy1<includeonly>|</includeonly>}}}{{{representative1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{leader9<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader9<includeonly>|</includeonly>}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader9}}} |{{!!}} }} {{!}} {{#ifexist:{{{leader9}}} |[[{{{leader9}}}]] |{{{leader9}}} }} }} <!----- Representative of head of state (eg. colony governors) ------> |- class="{{#if:{{{year_representative1<includeonly>|</includeonly>}}}{{{representative2|}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{representative1<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} <!-- -->'''{{#if:{{{title_representative<includeonly>|</includeonly>}}} | {{{title_representative}}} | {{#ifexist:Governor of {{{common_name}}} | [[Governor of {{{common_name}}}{{!}}Governor]] | {{#ifexist:Governor of the {{{common_name}}} | [[Governor of the {{{common_name}}}{{!}}Governor]] | Governor}} }} }}''' {{#if:{{{year_representative1<includeonly>|</includeonly>}}} |{{!}} |{{!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{representative1}}}|[[{{{representative1}}}]]|{{{representative1}}} }} }} {{!}}- class="{{#if:{{{representative2|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{year_representative1<includeonly>|</includeonly>}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative1}}}{{!!}} {{#ifexist:{{{representative1}}} |[[{{{representative1}}}]] |{{{representative1}}} }} }} }} {{!}}- class="{{#if:{{{representative3|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{representative2|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative2|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative2}}} |{{!!}} }} {{!!}} {{#ifexist:{{{representative2}}} |[[{{{representative2}}}]] |{{{representative2}}} }} }} {{!}}- class="{{#if:{{{representative3|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{representative3|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative3|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative3}}} |{{!!}} }} {{!!}} {{#ifexist:{{{representative3}}} |[[{{{representative3}}}]] |{{{representative3}}} }} }} {{!}}- class="{{#if:{{{representative5<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{representative4|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative4|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative4}}} |{{!!}} }} {{!!}}{{#ifexist:{{{representative4}}} |[[{{{representative4}}}]] |{{{representative4}}} }} }} {{!}}- class="{{#if:{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{representative5<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative5<includeonly>|</includeonly>}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative5}}} |{{!!}} }} {{!!}} {{#ifexist:{{{representative5}}} |[[{{{representative5}}}]] |{{{representative5}}} }} }} <!----- Head of government (if different from head of state) or second-in-charge, etc. ("deputy" parameters) ------> |- class="{{#if:{{{year_deputy1<includeonly>|</includeonly>}}}{{{deputy2|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{deputy1<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} <!-- -->'''{{#if:{{{title_deputy<includeonly>|</includeonly>}}} | {{{title_deputy}}} | {{#ifexist:Prime Minister of {{{common_name}}} | [[Prime Minister of {{{common_name}}}{{!}}Prime Minister]] | {{#ifexist:Prime Minister of the {{{common_name}}} | [[Prime Minister of the {{{common_name}}}{{!}}Prime Minister]] |Prime Minister}} }} }}''' {{#if:{{{year_deputy1<includeonly>|</includeonly>}}} |{{!}} |{{!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{deputy1}}} |[[{{{deputy1}}}]] |{{{deputy1}}} }} }} {{!}}- class="{{#if:{{{deputy2<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{year_deputy1<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy1}}} {{!}} {{#ifexist:{{{deputy1}}} |[[{{{deputy1}}}]] |{{{deputy1}}} }} }} }} {{!}}- class="{{#if:{{{deputy3|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{deputy2|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy2|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy2}}} |{{!!}} }} {{!!}} {{#ifexist:{{{deputy2}}} |[[{{{deputy2}}}]] |{{{deputy2}}} }} }} {{!}}- class="{{#if:{{{deputy4|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{deputy3|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy3|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy3}}} |{{!!}} }} {{!!}} {{#ifexist:{{{deputy3}}} |[[{{{deputy3}}}]] |{{{deputy3}}} }} }} {{!}}- class="{{#if:{{{deputy5|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{deputy4|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy4|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy4}}} |{{!!}} }} {{!!}} {{#ifexist:{{{deputy4}}} |[[{{{deputy4}}}]] |{{{deputy4}}} }} }} {{!}}- class="{{#if:{{{deputy6<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{deputy5|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy5|}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy5}}} |{{!!}} }} {{!!}} {{#ifexist:{{{deputy5}}} |[[{{{deputy5}}}]] |{{{deputy5}}} }} }} {{!}}- class="mergedbottomrow" {{#if:{{{deputy6<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy6<includeonly>|</includeonly>}}} |&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy6}}} |{{!!}} }} {{!!}} {{#ifexist:{{{deputy6}}} |[[{{{deputy6}}}]] |{{{deputy6}}} }} }} |- <!--------------- Legislature ----------------> {{#if:{{{legislature<includeonly>|</includeonly>}}} | {{!}}- {{#if:{{{house1|}}}{{{house2|}}} |class="mergedtoprow"}} {{!}}colspan="2"{{!}} '''Legislature''' {{!}} {{#ifexist:{{{legislature}}} |[[{{{legislature}}}]] |{{{legislature}}} }} {{#if:{{{house1|}}} | {{!}}- class="{{#if:{{{house2|}}} |mergedrow|mergedbottomrow}}" {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}} {{#if:{{{type_house1|}}} |{{{type_house1}}} |Upper house}} {{!}} {{#ifexist:{{{house1}}} |[[{{{house1}}}]] |{{{house1}}} }} }} {{#if:{{{house2|}}} | {{!}}- class="mergedbottomrow" {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}} {{#if:{{{type_house2|}}} |{{{type_house2}}} |Lower house}} {{!}} {{#ifexist:{{{house2}}}|[[{{{house2}}}]]|{{{house2}}} }} }} }} <!--------------- Events ----------------> |- class="mergedtoprow" |colspan="2"| {{#if:{{{era|}}} |'''Historical era''' |'''History'''}} | {{#if:{{{era|}}} |{{#ifexist:{{{era|}}}|[[{{{era}}}]]|{{{era}}}}} {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{Main other|{{#switch:{{{era}}} |Cold War=[[Category:Former polities of the Cold War|{{{common_name}}}, {{{year_start}}}]] |Interwar period=[[Category:Former polities of the interwar period|{{{common_name}}}, {{{year_start}}}]] }} }} }} }} |- class="mergedrow" {{#if:{{{event_pre<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event_pre}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}}}|{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}|,}} }} |- class="mergedrow" |style="width:1.0em; padding:0 0 0 0.6em;"| &nbsp;•&nbsp; ||style="padding-left:0em;text-align:left;"| {{#if:{{{event_start|}}} |{{{event_start}}} |Established}} |style="vertical-align: bottom;"| {{#if:{{{date_start|}}} |{{{date_start}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_start|}}}|{{{date_start}}}}}}}|{{#if:{{{date_start|}}}|{{{date_start}}}}}|,}} {{#if:{{{year_start|}}}|{{{year_start}}}|''Enter start year''}} |- class="mergedrow" {{#if:{{{event1<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event1}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}}}|{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}|,}} }} |- class="mergedrow" {{#if:{{{event2|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event2}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event2|}}}|{{{date_event2}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event2|}}}|{{{date_event2}}}}}}}|{{#if:{{{date_event2|}}}|{{{date_event2}}}}}|,}} }} |- class="mergedrow" {{#if:{{{event3|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event3}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event3|}}}|{{{date_event3}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event3|}}}|{{{date_event3}}}}}}}|{{#if:{{{date_event3|}}}|{{{date_event3}}}}}|,}} }} |- class="mergedrow" {{#if:{{{event4|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event4}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event4|}}}|{{{date_event4}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event4|}}}|{{{date_event4}}}}}}}|{{#if:{{{date_event4|}}}|{{{date_event4}}}}}|,}} }} |- class="mergedrow" {{#if:{{{event5<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event5}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}}}|{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}|,}} }} |- class="{{#if:{{{event_post<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" |style="width:1.0em; padding:0 0 0 0.6em;"| &nbsp;•&nbsp; ||style="padding-left:0em;text-align:left;"| {{#if:{{{event_end|}}} |{{{event_end}}} |Disestablished}} |style="vertical-align: bottom;"| {{#if:{{{date_end|}}}|{{{date_end}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_end|}}}|{{{date_end}}}}}}}|{{#if:{{{date_end|}}}|{{{date_end}}}}}|,}} {{#if:{{{year_end|}}}|{{{year_end}}}|''Enter end year''}} |- class="mergedbottomrow" {{#if:{{{event_post<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;•&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event_post}}} {{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}}}|{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}|,}} }} <!--------------- Area ----------------> |- {{#if:{{{stat_year1<includeonly>|</includeonly>}}} | |class="mergedtoprow"}} {{#if:{{{stat_year1<includeonly>|</includeonly>}}} | {{#if:{{{stat_area1<includeonly>|</includeonly>}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}} |{{!}}colspan="3"{{!}} '''[[List of countries and dependencies by area|Area]]''' }} <!----Area: 1st year----> {{!}}- class="{{#if:{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area1<includeonly>|</includeonly>}}} |{{!}} {{#if:{{{stat_year1<includeonly>|</includeonly>}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year1}}} {{#if:{{{ref_area1|}}}|{{{ref_area1}}}}} |{{!!}} }} {{!}} {{formatnum:{{{stat_area1|}}}}}&nbsp;km² {{nowrap|(<includeonly>{{formatnum:{{#expr:{{{stat_area1}}} div 2.589988110336 round 0}}}}</includeonly> sq mi)}} }} <!----Area: 2nd year----> {{!}}- class="{{#if:{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area2|}}} | {{#ifeq:{{{stat_area2|}}}|{{{stat_area1|}}} | |{{!}} {{#if:{{{stat_year2|}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year2}}} {{#if:{{{ref_area2|}}}|{{{ref_area2}}}}} |{{!!}} }} {{!}} {{formatnum:{{{stat_area2|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area2}}} div 2.589988110336 round 0}}}} sq mi)}} }} }} <!----Area: 3rd year----> {{!}}- class="{{#if:{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area3|}}} | {{#ifeq:{{{stat_area3|}}}|{{{stat_area2|}}} | |{{!}} {{#if:{{{stat_year3|}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year3}}} {{#if:{{{ref_area3|}}}|{{{ref_area3}}}}} |{{!!}} }} {{!}} {{formatnum:{{{stat_area3|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr: {{{stat_area3}}} div 2.589988110336 round 0}}}} sq mi)}} }} }} <!----Area: 4th year----> {{!}}- class="{{#if:{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area4|}}} | {{#ifeq:{{{stat_area4|}}}|{{{stat_area3|}}} | |{{!}} {{#if:{{{stat_year4|}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year4}}} {{#if:{{{ref_area4|}}}|{{{ref_area4}}}}} |{{!!}} }} {{!}} {{formatnum:{{{stat_area4|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area4}}} div 2.589988110336 round 0}}}} sq mi)}} }} }} <!----Area: 5th year----> {{!}}- class="mergedbottomrow" {{#if:{{{stat_area5<includeonly>|</includeonly>}}} | {{#ifeq:{{{stat_area5<includeonly>|</includeonly>}}}|{{{stat_area4<includeonly>|</includeonly>}}} | |{{!}} {{#if:{{{stat_year5<includeonly>|</includeonly>}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!!}}style="padding:0em 1em 0.2em 0;vertical-align:top;text-align:left;"{{!}} {{{stat_year5}}} |{{!!}} }} {{!}} {{formatnum:{{{stat_area5|}}}}}&nbsp;km² {{nowrap|(<includeonly>{{formatnum:{{#expr:{{{stat_area5}}} div 2.589988110336 round 0}}}}</includeonly> sq mi)}} }} }} <!----Area: Alternative if stat_year1 not provided----> | {{#if:{{{stat_area1|}}} |{{!}}colspan="2"{{!}} '''[[List of countries and outlying territories by area|Area]]''' {{!}} {{formatnum:{{{stat_area1|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area1}}} div 2.589988110336 round 0}}}} sq mi)}} }} }} <!--------------- Population ----------------> |- class="mergedtoprow" {{#if:{{{stat_pop1<includeonly>|</includeonly>}}}{{{stat_pop2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5|}}} |{{!}}colspan="3"{{!}} '''[[List of countries by population|Population]]''' }} <!----Population: 1st year----> |- class="{{#if:{{{stat_area1<includeonly>|</includeonly>}}}{{{stat_pop2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_pop1<includeonly>|</includeonly>}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{#if:{{{stat_year1<includeonly>|</includeonly>}}}|{{{stat_year1}}}}} est.{{#if:{{{ref_pop1|}}}|{{{ref_pop1}}}}} {{!}} {{formatnum:{{{stat_pop1<includeonly>|</includeonly>}}}}}&nbsp; {{!}}- class="{{#if:{{{stat_pop2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area1<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} {{nbsp|5}}Density {{!}}style="white-space:nowrap;"{{!}} <includeonly>{{formatnum:{{#expr:{{{stat_pop1}}} div {{{stat_area1}}} round 1}}}}</includeonly> /km²&nbsp; (<includeonly>{{formatnum:{{#expr:{{{stat_pop1}}} * 2.589988110336 div {{{stat_area1}}} round 1}}}}</includeonly> /sq mi) }} }} <!----Population: 2nd year----> |- class="{{#if:{{{stat_area2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_pop2|}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year2}}} est.{{#if:{{{ref_pop2|}}}|{{{ref_pop2}}}}} {{!}} {{formatnum:{{{stat_pop2|}}}}}&nbsp; {{!}}- class="{{#if:{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area2|}}} |{{!}}colspan="2"{{!}} {{nbsp|5}}Density {{!}}style="white-space:nowrap;"{{!}} {{formatnum:{{#expr:{{{stat_pop2}}} div {{{stat_area2}}} round 1}}}} /km²&nbsp; ({{formatnum:{{#expr:{{{stat_pop2}}} * 2.589988110336 div {{{stat_area2}}} round 1}}}} /sq mi) }} }} <!----Population: 3rd year----> |- class="{{#if:{{{stat_area3|}}}{{{stat_pop4|}}}{{{stat_pop5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_pop3|}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year3}}} est.{{#if:{{{ref_pop3|}}}|{{{ref_pop3}}}}} {{!}} {{formatnum:{{{stat_pop3|}}}}}&nbsp; {{!}}- class="{{#if:{{{stat_pop4|}}}{{{stat_pop5|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area3|}}} |{{!}}colspan="2"{{!}} {{nbsp|5}}Density {{!}}style="white-space:nowrap;"{{!}} {{formatnum:{{#expr:{{{stat_pop3}}} div {{{stat_area3}}} round 1}}}} /km²&nbsp; ({{formatnum:{{#expr:{{{stat_pop3}}} * 2.589988110336 div {{{stat_area3}}} round 1}}}} /sq mi) }} }} <!----Population: 4th year----> |- class="{{#if:{{{stat_area4|}}}{{{stat_pop5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_pop4|}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year4}}} est.{{#if:{{{ref_pop4|}}}|{{{ref_pop4}}}}} {{!}} {{formatnum:{{{stat_pop4|}}}}}&nbsp; {{!}}- class="{{#if:{{{stat_pop5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_area4|}}} |{{!}}colspan="2"{{!}} {{nbsp|5}}Density {{!}}style="white-space:nowrap;"{{!}} {{formatnum:{{#expr:{{{stat_pop4}}} div {{{stat_area4}}} round 1}}}} /km²&nbsp; ({{formatnum:{{#expr: {{{stat_pop4}}} * 2.589988110336 div {{{stat_area4}}} round 1}}}} /sq mi) }} }} <!----Population: 5th year----> |- class="{{#if:{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}" {{#if:{{{stat_pop5<includeonly>|</includeonly>}}} |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;•&nbsp; {{!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year5}}} est.{{#if:{{{ref_pop5|}}}|{{{ref_pop5}}}}} {{!}} {{formatnum:{{{stat_pop5<includeonly>|</includeonly>}}}}}&nbsp; {{!}}- class="mergedbottomrow" {{#if:{{{stat_area5<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} {{nbsp|5}}Density {{!}}style="white-space:nowrap;"{{!}} <includeonly>{{formatnum:{{#expr:{{{stat_pop5}}} div {{{stat_area5}}} round 1}}}}</includeonly> /km²&nbsp; (<includeonly>{{formatnum:{{#expr:{{{stat_pop5}}} * 2.589988110336 div {{{stat_area5}}} round 1}}}}</includeonly> /sq mi) }} }} |- <!------------------------------ Currency, cctld, calling code -------------------------------> {{#if: {{{currency<includeonly>|</includeonly>}}} | {{!}}colspan="2"{{!}} '''Currency''' {{!}} {{#ifexist:{{{currency}}}|[[{{{currency}}}]]|{{{currency}}}}} }} |- {{#if:{{{cctld|}}} |{{!}}colspan="2"{{!}} '''[[Country code top-level domain|Internet TLD]]''' {{!}} {{{cctld}}} }} |- {{#if:{{{calling_code|}}} |{{!}}colspan="2"{{!}} '''[[List of country calling codes|Calling code]]''' {{!}} [[+{{{calling_code}}}]] {{#ifexist:{{{calling_code_note|}}} |{{!}} {{{calling_code_note}}} }} }} <!------------------------ Preceding and succeding entities (unless listed in flag-only format at the top) -------------------------> |- {{#ifeq:{{#expr:{{#expr:{{#if:{{{p1|}}}|1|0}}+{{#if:{{{s1|}}}|1|0}}}} > 0}} | 1 |{{#ifeq:{{{successorflags|}}}|yes|| {{!}}colspan="3"{{!}} <!--start subtable:--> {{{!}} style="width:95%; background: transparent; text-align:center; margin:0 auto;" {{!}}- {{!}} style="text-align:center; border:0; padding-bottom:0"{{!}}<div id="before-after"></div> {{#if:{{{p1|}}}|'''Preceded by'''}} {{!}}{{!}} style="text-align:center;border:0; padding-bottom:0;"{{!}} {{#if:{{{s1|}}}|'''Succeeded by'''}} {{!}}- {{!}} style="vertical-align:top; text-align:center; border:0;"{{!}} {{#if:{{{p1|}}} | <!--start subtable:-->{{{!}} style="width:100%; background: transparent; text-align:center; margin:0 auto; border:0;" {{!}}- {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|20px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p1}}}]] {{!}}- {{#if:{{{p2|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p2|}}}|[[File:{{{flag_p2}}}|20px{{#ifeq:{{{border_p2}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p2}}}]]}} {{!}}- {{#if:{{{p3|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p3|}}}|[[File:{{{flag_p3}}}|20px{{#ifeq:{{{border_p3}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p3}}}]]}} {{!}}- {{#if:{{{p4|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p4|}}}|[[File:{{{flag_p4}}}|20px{{#ifeq:{{{border_p4}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p4}}}]]}} {{!}}- {{#if:{{{p5|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p5|}}}|[[File:{{{flag_p5}}}|20px{{#ifeq:{{{border_p5}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p5}}}]]}} {{!}}- {{#if:{{{p6|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p6|}}}|[[File:{{{flag_p6}}}|20px{{#ifeq:{{{border_p6}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p6|}}}|{{{image_p6}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p6}}}]]}} {{!}}- {{#if:{{{p7|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p7|}}}|[[File:{{{flag_p7}}}|20px{{#ifeq:{{{border_p7}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p7|}}}|{{{image_p7}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p7}}}]]}} {{!}}- {{#if:{{{p8|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p8|}}}|[[File:{{{flag_p8}}}|20px{{#ifeq:{{{border_p8}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p8|}}}|{{{image_p8}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p8}}}]]}} {{!}}- {{#if:{{{p9|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p9|}}}|[[File:{{{flag_p9}}}|20px{{#ifeq:{{{border_p9}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p9|}}}|{{{image_p9}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p9}}}]]}} {{!}}- {{#if:{{{p10|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p10|}}}|[[File:{{{flag_p10}}}|20px{{#ifeq:{{{border_p10}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p10|}}}|{{{image_p10}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p10}}}]]}} {{!}}- {{#if:{{{p11|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p11|}}}|[[File:{{{flag_p11}}}|20px{{#ifeq:{{{border_p11}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p11|}}}|{{{image_p11}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p11}}}]]}} {{!}}- {{#if:{{{p12|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p12|}}}|[[File:{{{flag_p12}}}|20px{{#ifeq:{{{border_p12}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p12|}}}|{{{image_p12}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p12}}}]]}} {{!}}- {{#if:{{{p13|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p13|}}}|[[File:{{{flag_p13}}}|20px{{#ifeq:{{{border_p13}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p13|}}}|{{{image_p13}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p13}}}]]}} {{!}}- {{#if:{{{p14|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p14|}}}|[[File:{{{flag_p14}}}|20px{{#ifeq:{{{border_p14}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p14|}}}|{{{image_p14}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p14}}}]]}} {{!}}- {{#if:{{{p15|}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p15|}}}|[[File:{{{flag_p15}}}|20px{{#ifeq:{{{border_p15}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p15|}}}|{{{image_p15}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}style="border:0; padding:0; vertical-align:middle; text-align:left;"{{!}} [[{{{p15}}}]]}} <!--end subtable:--> {{!}}} }} {{!}} style="vertical-align:top; text-align:center;border:0;"{{!}} {{#if:{{{s1|}}} | <!--start subtable:-->{{{!}} style="width:92%; background:transparent; text-align:center; margin:0 auto; border:0;" {{!}}- {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s1}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s1|}}}|[[File:{{{flag_s1}}}|20px{{#ifeq:{{{border_s1}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[File:Blank.png|22px|link=|alt=]]}}}} {{!}}- {{#if:{{{s2|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s2}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s2|}}}|[[File:{{{flag_s2}}}|20px{{#ifeq:{{{border_s2}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s3|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s3}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s3|}}}|[[File:{{{flag_s3}}}|20px{{#ifeq:{{{border_s3}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s4|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s4}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s4|}}}|[[File:{{{flag_s4}}}|20px{{#ifeq:{{{border_s4}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s5|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s5}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s5|}}}|[[File:{{{flag_s5}}}|20px{{#ifeq:{{{border_s5}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s6|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s6}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s6|}}}|[[File:{{{flag_s6}}}|20px{{#ifeq:{{{border_s6}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s6|}}}|{{{image_s6}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s7|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s7}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s7|}}}|[[File:{{{flag_s7}}}|20px{{#ifeq:{{{border_s7}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s7|}}}|{{{image_s7}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s8|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s8}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s8|}}}|[[File:{{{flag_s8}}}|20px{{#ifeq:{{{border_s8}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s8|}}}|{{{image_s8}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s9|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s9}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s9|}}}|[[File:{{{flag_s9}}}|20px{{#ifeq:{{{border_s9}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s9|}}}|{{{image_s9}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s10|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s10}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s10|}}}|[[File:{{{flag_s10}}}|20px{{#ifeq:{{{border_s10}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s10|}}}|{{{image_s10}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s11|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s11}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s11|}}}|[[File:{{{flag_s11}}}|20px{{#ifeq:{{{border_s11}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s11|}}}|{{{image_s11}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s12|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s12}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s12|}}}|[[File:{{{flag_s12}}}|20px{{#ifeq:{{{border_s12}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s12|}}}|{{{image_s12}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s13|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s13}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s13|}}}|[[File:{{{flag_s13}}}|20px{{#ifeq:{{{border_s13}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s13|}}}|{{{image_s13}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s14|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s14}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s14|}}}|[[File:{{{flag_s14}}}|20px{{#ifeq:{{{border_s14}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s14|}}}|{{{image_s14}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} {{!}}- {{#if:{{{s15|}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{s15}}}]] {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s15|}}}|[[File:{{{flag_s15}}}|20px{{#ifeq:{{{border_s15}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s15|}}}|{{{image_s15}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} <!--end subtable:--> {{!}}} }} <!--end subtable:--> {{!}}} }}}} <!------------- Today part of --------------> |- {{#if: {{{today<includeonly>|</includeonly>}}} |{{!}}colspan="2"{{!}} '''Today part of''' {{!}} {{{today}}} }} <!--------- Footnotes ----------> <!-----Lettered footnotes-----> |- style="font-size:85%;" {{#if:{{{footnote_a<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0.4em 0 0 0.6em;"{{!}} a. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_a}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_c|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_b|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} b. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_b}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_d|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_c|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} c. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_c}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_e|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_d|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} d. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_d}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_f|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_e|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} e. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_e}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_g|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_f|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} f. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_f}}} }} |- style="font-size:85%;" class="{{#if:{{{footnote_h|}}} |mergedrow|mergedbottomrow}}" {{#if:{{{footnote_g|}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} g. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_g}}} }} |- style="font-size:85%;" class="mergedbottomrow" {{#if:{{{footnote_h<includeonly>|</includeonly>}}} | {{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} h. {{!!}}colspan="2" style="padding-left:0;text-align:left;"{{!}} {{{footnote_h}}} }} |- <!-----footnotes (non-specific)-----> {{#if:{{{footnotes<includeonly>|</includeonly>}}} | {{!}}colspan="3"{{!}} <small>{{{footnotes}}}</small> }} |- <!-----footnotes2-----> {{#if:{{{footnotes2<includeonly>|</includeonly>}}} | {{!}}colspan="3"{{!}} <small>{{{footnotes2}}}</small> }} |- {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | | {{ns0|{{Infobox former country/autocat|continent={{{continent|}}} |empire={{{empire|}}} |region={{{region|}}} |status={{{status|}}} |year_start={{{year_start|}}} |common_name={{{common_name|}}} |year_end={{{year_end|}}} }} }} }} |}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox former country with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox former country]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | border_p1 | border_p10 | border_p11 | border_p12 | border_p13 | border_p14 | border_p15 | border_p2 | border_p3 | border_p4 | border_p5 | border_p6 | border_p7 | border_p8 | border_p9 | border_s1 | border_s10 | border_s11 | border_s12 | border_s13 | border_s14 | border_s15 | border_s2 | border_s3 | border_s4 | border_s5 | border_s6 | border_s7 | border_s8 | border_s9 | calling_code | calling_code_note | capital | capital_exile | cctld | coa_size | coat_alt | common_languages | common_name | continent | conventional_long_name | currency | date_end | date_event1 | date_event2 | date_event3 | date_event4 | date_event5 | date_post | date_pre | date_start | demonym | deputy1 | deputy2 | deputy3 | deputy4 | deputy5 | deputy6 | empire | era | event_end | event_post | event_pre | event_start | event1 | event2 | event3 | event4 | event5 | flag | flag_alt | flag_alt2 | flag_border | flag_p1 | flag_p10 | flag_p11 | flag_p12 | flag_p13 | flag_p14 | flag_p15 | flag_p2 | flag_p3 | flag_p4 | flag_p5 | flag_p6 | flag_p7 | flag_p8 | flag_p9 | flag_s1 | flag_s10 | flag_s11 | flag_s12 | flag_s13 | flag_s14 | flag_s15 | flag_s2 | flag_s3 | flag_s4 | flag_s5 | flag_s6 | flag_s7 | flag_s8 | flag_s9 | flag_size | flag_type | footnote_a | footnote_b | footnote_c | footnote_d | footnote_e | footnote_f | footnote_g | footnote_h | footnotes | footnotes2 | government_type | house1 | house2 | image_coat | image_flag | image_flag2 | image_map | image_map_alt | image_map_caption | image_map_size | image_map2 | image_map2_alt | image_map2_caption | image_map2_size | image_p1 | image_p10 | image_p11 | image_p12 | image_p13 | image_p14 | image_p15 | image_p2 | image_p3 | image_p4 | image_p5 | image_p6 | image_p7 | image_p8 | image_p9 | image_s1 | image_s10 | image_s11 | image_s12 | image_s13 | image_s14 | image_s15 | image_s2 | image_s3 | image_s4 | image_s5 | image_s6 | image_s7 | image_s8 | image_s9 | leader1 | leader2 | leader3 | leader4 | leader5 | leader6 | leader7 | leader8 | leader9 | legislature | life_span | location_map | national_anthem | national_motto | native_name | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p2 | p3 | p4 | p5 | p6 | p7 | p8 | p9 | ref_area1 | ref_area2 | ref_area3 | ref_area4 | ref_pop1 | ref_pop2 | ref_pop3 | ref_pop4 | ref_pop5 | region | religion | representative1 | representative2 | representative3 | representative4 | representative5 | s1 | s10 | s11 | s12 | s13 | s14 | s15 | s2 | s3 | s4 | s5 | s6 | s7 | s8 | s9 | stat_area1 | stat_area2 | stat_area3 | stat_area4 | stat_area5 | stat_pop1 | stat_pop2 | stat_pop3 | stat_pop4 | stat_pop5 | stat_year1 | stat_year2 | stat_year3 | stat_year4 | stat_year5 | status | status_text | successorflags | symbol | symbol_type | title_deputy | title_leader | title_representative | today | type_house1 | type_house2 | width | year_deputy1 | year_deputy2 | year_deputy3 | year_deputy4 | year_deputy5 | year_deputy6 | year_end | year_exile_end | year_exile_start | year_leader1 | year_leader2 | year_leader3 | year_leader4 | year_leader5 | year_leader6 | year_leader7 | year_leader8 | year_leader9 | year_representative1 | year_representative2 | year_representative3 | year_representative4 | year_representative5 | year_start }}<noinclude> {{documentation}} </noinclude> 4780502a9d16e2a341650c4d373300d24ce854f5 Template:Infobox military conflict 10 17 18 2019-12-18T18:15:26Z Rubikia 30444800 Created page with "{| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; backgrou..." wikitext text/x-wiki {| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; background: lightsteelblue;" | {{{conflict}}} |- class="hiddenStructure{{{image|}}}" | colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" | {{{image}}}<br />{{{caption}}} |- | colspan="2" | {| class="infobox" width="100%" style="margin: 0; cellpadding: 0; padding: 0; border:0" |- ! style="text-align: left;" | Date: | {{{date}}} |- ! style="text-align: left;" | Location: | {{{place}}} |- ! style="text-align: left;" | Result: | {{{result}}} |- | style="{{#if:{{{casus|}}}| |display: none;}}" valign="top" | '''Casus belli''' | style="{{#if:{{{casus|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{casus|}}} |- | style="{{#if:{{{territory|}}}| |display: none;}}" valign="top" | '''Territory changes''' | style="{{#if:{{{territory|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{territory|}}} |} |- class="hiddenStructure{{{combatant1|}}}" ! colspan="2" style="background: lightsteelblue;" | Combatants |- class="hiddenStructure{{{combatant1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{combatant1}}} | width="50%" | {{{combatant2}}} |- class="hiddenStructure{{{commander1|}}}" ! colspan="2" style="background: lightsteelblue;" | Commanders |- class="hiddenStructure{{{commander1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{commander1}}} | width="50%" | {{{commander2}}} |- class="hiddenStructure{{{casualties1|}}}" ! colspan="2" style="background: lightsteelblue;" | Casualties |- class="hiddenStructure{{{casualties1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{casualties1}}} | width="50%" | {{{casualties2}}} |} <noinclude>[[Category:Infobox templates]]</noinclude> bfc8d9940b0839950fb7fe01683eb665002d000b Template:Infobox military conflict2 10 18 19 2019-12-18T18:17:11Z Rubikia 30444800 Created page with "{| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; backgrou..." wikitext text/x-wiki {| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; background: lightsteelblue;" | {{{conflict}}} |- class="hiddenStructure{{{image|}}}" | colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" | {{{image}}}<br />{{{caption}}} |- | colspan="2" | {| class="infobox" width="100%" style="margin: 0; cellpadding: 0; padding: 0; border:0" |- ! style="text-align: left;" | Date: | {{{date}}} |- ! style="text-align: left;" | Location: | {{{place}}} |- ! style="text-align: left;" | Result: | {{{result}}} |- | style="{{#if:{{{casus|}}}| |display: none;}}" valign="top" | '''Casus belli''' | style="{{#if:{{{casus|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{casus|}}} |- | style="{{#if:{{{territory|}}}| |display: none;}}" valign="top" | '''Territory changes''' | style="{{#if:{{{territory|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{territory|}}} |} |- class="hiddenStructure{{{combatant1|}}}" ! colspan="2" style="background: lightsteelblue;" | Combatants |- class="hiddenStructure{{{combatant1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{combatant1}}} | width="50%" | {{{combatant2}}} |- class="hiddenStructure{{{commander1|}}}" ! colspan="2" style="background: lightsteelblue;" | Commanders |- class="hiddenStructure{{{commander1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{commander1}}} | width="50%" | {{{commander2}}} |} <noinclude>[[Category:Infobox templates]]</noinclude> 88575b11469a6567225bce353a39f7a472731a8e Template:Infobox military subconflict 10 19 20 2019-12-18T18:18:45Z Rubikia 30444800 Created page with "{| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; backgrou..." wikitext text/x-wiki {| class="infobox" align ="right" style="background:#ffffff; border: 1px solid #000000; width:280px; border-spacing: 2px" |- ! colspan="2" style="text-align: center; background: lightsteelblue;" | {{{conflict}}} |- class="hiddenStructure{{{partof|}}}" | colspan="2" style="text-align: center; background: lightsteelblue;" | Part of {{{partof}}} |- class="hiddenStructure{{{image|}}}" | colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" | {{{image}}}<br />{{{caption}}} |- | colspan="2" | {| class="infobox" width="100%" style="margin: 0; cellpadding: 0; padding: 0; border:0" |- ! style="text-align: left;" | Date: | {{{date}}} |- ! style="text-align: left;" | Location: | {{{place}}} |- ! style="text-align: left;" | Result: | {{{result}}} |- | style="{{#if:{{{casus|}}}| |display: none;}}" valign="top" | '''Casus belli''' | style="{{#if:{{{casus|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{casus|}}} |- | style="{{#if:{{{territory|}}}| |display: none;}}" valign="top" | '''Territory changes''' | style="{{#if:{{{territory|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{territory|}}} |} |- class="hiddenStructure{{{combatant1|}}}" ! colspan="2" style="background: lightsteelblue;" | Combatants |- class="hiddenStructure{{{combatant1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{combatant1}}} | width="50%" | {{{combatant2}}} |- class="hiddenStructure{{{commander1|}}}" ! colspan="2" style="background: lightsteelblue;" | Commanders |- class="hiddenStructure{{{commander1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{commander1}}} | width="50%" | {{{commander2}}} |- class="hiddenStructure{{{casualties1|}}}" ! colspan="2" style="background: lightsteelblue;" | Casualties |- class="hiddenStructure{{{casualties1|}}}" | width="50%" style="border-right: 1px solid #aaa;" | {{{casualties1}}} | width="50%" | {{{casualties2}}} |} <noinclude>[[Category:Infobox templates]]</noinclude> 764c2340f849d4835cfe29914578e9db5a3c298c Osenia 0 20 21 2019-12-18T18:21:37Z Rubikia 30444800 Created page with "{{Infobox country |conventional_long_name = Kingdom of Donbile |common_name = Donbile |image_flag= donbile.png |image_coat = donbilecoa.png |national_motto= |anthem = |capital..." wikitext text/x-wiki {{Infobox country |conventional_long_name = Kingdom of Donbile |common_name = Donbile |image_flag= donbile.png |image_coat = donbilecoa.png |national_motto= |anthem = |capital= Geldenhaupt |largest_city= capital |official_languages= Donbilian |demonym= Donbilian |government_type= Unitary parliamentary constitutional monarchy |leader_title1 = Monarch |leader_name1 = Othmar III |leader_title2 = Prime Minister |leader_name2 = Konrad Viltsarl |legislature = Volksvertretung |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[War of Kings]] |established_date1 = 3052:2 |established_event2 = Union of Nordland and Donbia |established_date2 = 3237:2 |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Plastyk (₽) |population_estimate = 1.5 billion |population_estimate_year = 10505:2 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = donbile_location.png |map_caption = Location of Donbile in 10505:2 |map_width = 220px |image_map2 = |map_caption2 = }} '''Donbile''', officially the '''Kingdom of Donbile''', is a unitary parliamentary constitutional monarchy in north eastern [[Cycondrill]]. Donbile holds the title of the largest country in the world by surface area, however it is very sparsely populated in its western territories. Donbile shares land borders with [[Gelvadon]], [[Hanoda]], [[Monbil]], [[Rebile]] and [[Sonerbil]] and a maritime border with [[Denbil]]. Donbile has 142 voting constituencies, and even more administrative divisions. d95e6cf09d6f7a066607a522c4eb79b3cc551daf 22 21 2019-12-18T18:37:10Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large cities. e9ca532fb90b3f4fd939cb9b955e5611ad3aa0c8 23 22 2019-12-18T18:46:54Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of three conference zones. 39b1395495d2c21c4e8ca23b9a04b78fcdf69cf1 24 23 2019-12-18T19:15:27Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 4b5701d40ab0c1b0129d26c4e209178f2745c97d 38 24 2019-12-18T20:48:27Z Rubikia 30444800 wikitext text/x-wiki '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 310ab2f29ab39effb01f006f102330c36dc58aa2 39 38 2019-12-18T20:48:56Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |native_name = Questers<br>धर्मदेश (Dharmandesh; lit. ''Country of the Dharmans'')<br>Benua Amkaya (lit. ''Continental Commonwealth'') |conventional_long_name = |common_name = |image_flag = Flag of rajamandala.png |alt_flag = |image_coat = |alt_coat = |symbol_type = |national_motto = |national_anthem = {{wp|Scotland the Brave|Questaria the Brave}} |royal_anthem = {{wp|Perajurit Tanah Air}} |other_symbol_type = |other_symbol = |image_map = Questers_map_version_151.png |alt_map = |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = |latd= | latm= | latNS = |longd= |longm= |longEW = |largest_city = Jesselton |largest_settlement = |largest_settlement_type = |official_languages = |national_languages = |regional_languages = |languages_type = |languages = |ethnic_groups = |ethnic_groups_year = |demonym = Questarian |government_type = [[Government of Questers|Government House]] |leader_title1 = [[Defender of the Faiths]] |leader_name1 = [[Abdullah Afiz]] |leader_title2 = |leader_name2 = |leader_title6 = |leader_name6 = |sovereignty_type = |sovereignty_note = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |area_rank = 4th |area_magnitude = |area = |area_km2 = 6,262,400 |area_sq_mi = 2,417,926 |area_footnote = |percent_water = 8 |area_label = |area_label2 = |area_dabodyalign = |population_estimate = 572 million (est.) |population_estimate_rank = |population_estimate_year = 2018 |population_census = |population_census_year = |population_density_km2 = 91 (est.) |population_density_sq_mi = 236.5 (est.) |population_density_rank = |GDP_PPP = |GDP_PPP_rank = |GDP_PPP_year = |GDP_PPP_per_capita = |GDP_PPP_per_capita_rank = |GDP_nominal = $7,415 billion (est.) |GDP_nominal_rank = |GDP_nominal_year = 2019 |GDP_nominal_per_capita = $12,960 (est.) |GDP_nominal_per_capita_rank = |Gini = |Gini_rank = |Gini_year = |Gini_change = |Gini_category = |HDI = |HDI_rank = |HDI_year = |HDI_change = |HDI_category = |currency = Various |currency_code = |time_zone = |utc_offset = -3 |time_zone_DST = |antipodes = |date_format = dd-mm-yyyy |DST_note = |utc_offset_DST = |drives_on = left |cctld = |iso3166code = |calling_code = |image_map3 = |alt_map3 = |footnotes = |footnote1 = |footnote2 = <!-- ... --> |footnote7 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. dff894d75f4bd80ba78cdc1bfe20e7474cee4b26 40 39 2019-12-18T20:52:30Z Rubikia 30444800 wikitext text/x-wiki '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 310ab2f29ab39effb01f006f102330c36dc58aa2 41 40 2019-12-18T20:55:08Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Kingdom of Donbile |common_name = Donbile |image_flag= donbile.png |image_coat = donbilecoa.png |national_motto= |anthem = |capital= Geldenhaupt |largest_city= capital |official_languages= Donbilian |demonym= Donbilian |government_type= Unitary parliamentary constitutional monarchy |leader_title1 = Monarch |leader_name1 = Othmar III |leader_title2 = Prime Minister |leader_name2 = Konrad Viltsarl |legislature = Volksvertretung |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[War of Kings]] |established_date1 = 3052:2 |established_event2 = Union of Nordland and Donbia |established_date2 = 3237:2 |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Plastyk (₽) |population_estimate = 1.5 billion |population_estimate_year = 10505:2 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = donbile_location.png |map_caption = Location of Donbile in 10505:2 |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 76ddb4124d92b01f2eeec25efcc03a7fe1174f38 43 41 2019-12-18T21:01:03Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, x, is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 75c46a707b122b755efc97088d27e95301f86c43 45 43 2019-12-18T21:08:10Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= Orzpurs |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, [[Orzpurs]], is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 450acf2d0a7a6cf85acebe78f44f3e05306a6e62 46 45 2019-12-18T21:08:52Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= [[Orzpurs]] |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, [[Orzpurs]], is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. 2a004bbc136c545723943a9b4171fbe3ccd686ea Global Peace Council 0 21 25 2019-12-18T19:21:18Z Rubikia 30444800 Created page with "{{Infobox geopolitical organization | name = {{collapsible list | titlestyle = background:transparent;text-align:center;line-height:normal;font-size:84%; | ti..." wikitext text/x-wiki {{Infobox geopolitical organization | name = {{collapsible list | titlestyle = background:transparent;text-align:center;line-height:normal;font-size:84%; | title = {{resize|1.25em|United Nations}} | {{Infobox |subbox=yes |bodystyle=font-size:77%;font-weight:normal; | rowclass1 = mergedrow| label1 = [[Arabic]]: | data1 = {{lang|ar|منظمة الأمم المتحدة|rtl=yes}} | rowclass2 = mergedrow| label2 = [[Chinese language|Chinese]]: | data2 = {{lang|zh|联合国组织}} | rowclass3 = mergedrow| label3 = [[French language|French]]: | data3 = {{lang|fr|Organisation des Nations unies|italic=unset}} | rowclass4 = mergedrow| label4 = [[Russian language|Russian]]: | data4 = {{nowrap|{{lang|ru|Организация Объединённых Наций}}}} | rowclass5 = mergedrow| label5 = [[Spanish language|Spanish]]: | data5 = {{nowrap|{{lang|es|Organización de las Naciones Unidas|italic=unset}}}}}}}}<!--NOTE: 'Organization' is only part of the official title in Russian.--> |linking_name = the United Nations |image_flag = Flag of the United Nations.svg |symbol_type = [[Emblem of the United Nations|Emblem]] |image_symbol = Emblem of the United Nations.svg |org_type = [[Intergovernmental organization]] |membership = [[Member states of the United Nations|193 member states]]<br />[[United Nations General Assembly observers|2 observer states]] |admin_center_type = [[Headquarters of the United Nations|Headquarters]] |admin_center = [[New York City]] {{small|([[Extraterritoriality|international&nbsp;territory]])}} |languages_type = [[Official languages of the United Nations|Official languages]] |languages = {{hlist|[[Arabic language|Arabic]]|[[Standard Chinese|Chinese]]|[[English language|English]]|[[French language|French]]|[[Russian language|Russian]]|[[Spanish language|Spanish]]<ref>[https://www.un.org/en/sections/about-un/official-languages/index.html Official Languages] {{Webarchive|url=https://web.archive.org/web/20150712155312/http://www.un.org/en/sections/about-un/official-languages/index.html |date=12 July 2015 }}, www.un.org. Retrieved 22 May 2015.</ref>}} |leader_title1 = [[Secretary-General of the United Nations|Secretary‑General]] |leader_name1 = [[António Guterres]] |leader_title2 = [[Deputy Secretary-General of the United Nations|Deputy Secretary-General]] |leader_name2 = [[Amina J. Mohammed]] |leader_title3 = [[President of the United Nations General Assembly|General Assembly President]] |leader_name3 = [[Tijjani Muhammad-Bande]] |leader_title4 = [[President of the United Nations Economic and Social Council|Economic and Social Council President]] |leader_name4 = [[Mona Juul]] |leader_title5 = [[President of the United Nations Security Council|Security Council President]] |leader_name5 = [[Kelly Craft]] |established_event1 = [[Charter of the United Nations|UN Charter]] signed |established_date1 = {{Start date and age|1945|06|26|df=yes|p=y}} |established_event2 = Charter entered into force |established_date2 = {{Start date and age|1945|10|24|df=yes|p=y}} |official_website = [https://www.un.org/ UN.org] <br /> [https://www.un.int/ UN.int] |FR_total_population_estimate = 7,403,020,000 |FR_total_population_estimate_year = 2016 }} 39bfddb40c31114ff651e3581b41c59f5cd6331d 28 25 2019-12-18T19:25:59Z Rubikia 30444800 wikitext text/x-wiki {{Infobox geopolitical organization | name = Global Peace Council |image_flag = Flag of the United Nations.svg |symbol_type = [[Emblem of the United Nations|Emblem]] |image_symbol = Emblem of the United Nations.svg |org_type = [[Intergovernmental organization]] |membership = [[Member states of the United Nations|193 member states]]<br />[[United Nations General Assembly observers|2 observer states]] |admin_center_type = [[Headquarters of the United Nations|Headquarters]] |admin_center = [[New York City]] {{small|([[Extraterritoriality|international&nbsp;territory]])}} |languages_type = [[Official languages of the United Nations|Official languages]] |languages = {{hlist|[[Arabic language|Arabic]]|[[Standard Chinese|Chinese]]|[[English language|English]]|[[French language|French]]|[[Russian language|Russian]]|[[Spanish language|Spanish]]<ref>[https://www.un.org/en/sections/about-un/official-languages/index.html Official Languages] {{Webarchive|url=https://web.archive.org/web/20150712155312/http://www.un.org/en/sections/about-un/official-languages/index.html |date=12 July 2015 }}, www.un.org. Retrieved 22 May 2015.</ref>}} |leader_title1 = [[Secretary-General of the United Nations|Secretary‑General]] |leader_name1 = [[António Guterres]] |leader_title2 = [[Deputy Secretary-General of the United Nations|Deputy Secretary-General]] |leader_name2 = [[Amina J. Mohammed]] |leader_title3 = [[President of the United Nations General Assembly|General Assembly President]] |leader_name3 = [[Tijjani Muhammad-Bande]] |leader_title4 = [[President of the United Nations Economic and Social Council|Economic and Social Council President]] |leader_name4 = [[Mona Juul]] |leader_title5 = [[President of the United Nations Security Council|Security Council President]] |leader_name5 = [[Kelly Craft]] |established_event1 = [[Charter of the United Nations|UN Charter]] signed |established_date1 = {{Start date and age|1945|06|26|df=yes|p=y}} |established_event2 = Charter entered into force |established_date2 = {{Start date and age|1945|10|24|df=yes|p=y}} |official_website = [https://www.un.org/ UN.org] <br /> [https://www.un.int/ UN.int] |FR_total_population_estimate = 7,403,020,000 |FR_total_population_estimate_year = 2016 }} 6306d5cd8940c73a5096c970091d356315171d27 29 28 2019-12-18T19:44:55Z Rubikia 30444800 wikitext text/x-wiki The ''Global Peace Council'' (''GPC''), is an intergovernmental organization responsible for maintaining international peace and security, developing friendly relations among nations and enforcing this peace. It is the largest, most familiar, most internationally represented and most powerful intergovernmental organization in the world. The GPC is headquartered on international territory known as [[International City]] and has assemblies in eight cities across the globe. 992e0327714d6c61df1b13706d46d903af209262 30 29 2019-12-18T20:19:18Z Rubikia 30444800 wikitext text/x-wiki The '''Global Peace Council''' ('''GPC'''), is an intergovernmental organization responsible for maintaining international peace and security, developing friendly relations among nations and enforcing this peace. It is the largest, most familiar, most internationally represented and most powerful intergovernmental organization in the world. The GPC is headquartered on international territory known as [[International City]] and has assemblies in eight cities across the globe. 5cddb5594e56b8ce2a5015bdc22221015ba57591 44 30 2019-12-18T21:06:12Z Rubikia 30444800 wikitext text/x-wiki The '''Global Peace Council''' ('''GPC'''), is an intergovernmental organization responsible for maintaining international peace and security, developing friendly relations among nations and enforcing this peace. It is the largest, most familiar, most internationally represented and most powerful intergovernmental organization in the world. The GPC is headquartered on international territory known as [[International City]] and has assemblies in eight cities across the globe including [[Orzpurs]]. b07c92fcbe658e16735a30b61b895f8a4fdffd78 Template:Infobox military installation 10 23 31 2019-12-18T20:24:53Z Rubikia 30444800 Created page with "{{infobox | child = {{#ifeq:{{{embed|}}}|yes|yes}} | bodyclass = vcard | bodystyle = {{WPMILHIST Infobox style|main_box_raw|vcard}} | abovestyle = {{WPMILHIST Infobox style|h..." wikitext text/x-wiki {{infobox | child = {{#ifeq:{{{embed|}}}|yes|yes}} | bodyclass = vcard | bodystyle = {{WPMILHIST Infobox style|main_box_raw|vcard}} | abovestyle = {{WPMILHIST Infobox style|header_raw}} | subheaderstyle1 = {{WPMILHIST Infobox style|header_raw}}; font-weight:bold; | {{#ifeq:{{{embed|}}}|yes|subheader1|above}} = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes|<nowiki />|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}<!-- -->{{#if:{{{ensign|}}}|<div style="padding-bottom:2px">{{#invoke:InfoboxImage|InfoboxImage|image={{{ensign|}}}|size={{{ensign_size|}}}|sizedefault=90px|alt={{{ensign_alt|}}}}}</div>}} | subheaderstyle2 = {{WPMILHIST Infobox style|header_raw}} | subheader2 = {{br separated entries |1 = {{#if:{{{native_name|}}}|<div style="display:inline;" class="nickname">''{{{native_name|}}}''</div>}} |2 = {{#if:{{{nativename|}}}|<div style="display:inline;" class="nickname">''{{{nativename|}}}''</div>}} |3 = {{#if:{{{nativename-a|}}}|<div style="display:inline;" class="nickname">{{{nativename-a}}}</div>}} |4 = {{#if:{{{nativename-r|}}}|<div style="display:inline;" class="nickname">{{{nativename-r}}}</div>}} }} | subheaderstyle3 = {{WPMILHIST Infobox style|sub_header_raw}} | subheader3 = {{#if:{{{partof|}}}| Part of {{{partof}}}}} | subheaderstyle4 = {{WPMILHIST Infobox style|sub_header_raw}} | subheader4 = {{#if:{{{location|}}}{{{nearest_town|}}}{{{country|}}} |<span class="label">{{br separated entries |1={{{location|}}} |2={{#if:{{{nearest_town|}}}|Near {{{nearest_town}}} }} }} {{#if:{{{country|}}} | {{#if:{{{location|}}}{{{nearest_town|}}}|in&nbsp;}}{{{country}}}}}</span> }} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=250px|alt={{{image_alt|{{{alt|}}}}}}}} | caption = {{{caption|}}} | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=75px|alt={{{image2_alt|{{{alt2|}}}}}}}} | caption2 = {{{caption2|}}} | image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|{{{image_map|}}}}}}|size={{{map_size|{{{image_mapsize|}}}}}}|sizedefault=250px|alt={{{map_alt|{{{image_map_alt|}}}}}}}} | caption3 = {{{map_caption|{{{image_map_caption|}}}}}} | image4 = {{#if:{{{pushpin_map|{{{map_type|}}}}}} |{{Location map|{{{pushpin_map|{{{map_type|}}}}}} |label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} }} |alt = {{{pushpin_map_alt|}}} |coordinates = {{{coordinates|}}} |mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }} |marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }} |float = center |caption = {{{pushpin_map_caption|}}} |border = infobox |position = {{{pushpin_label_position|}}} |width = {{#if:{{{pushpin_mapsize|{{{map_size|}}}}}}|{{{pushpin_mapsize|{{{map_size|}}}}}} | 250 }} |relief = {{{pushpin_relief|{{{map_relief|}}}}}} |AlternativeMap = {{{pushpin_image|}}} }}}} | labelstyle = padding-right:1em | headerstyle = {{WPMILHIST Infobox style|header_raw}} | label1 = Coordinates | data1 = {{#if:{{{coordinates|}}}|{{{coordinates}}} {{{coordinates_footnotes|{{{coord_footnotes|}}}}}} }} | label2 = [[Grid reference]] | data2 = {{{gridref|}}} | label3 = Type | data3 = {{{type|}}} | label4 = Code | data4 = {{{code|}}} | label5 = Area | data5 = {{{site_area|}}} | label6 = Floor area | data6 = {{{floor_area|}}} | label7 = Height | data7 = {{{height|}}} | label8 = Length | data8 = {{{length|}}} | header9 ={{#if:{{{ownership|}}}{{{owner|}}}{{{operator|}}}{{{controlledby|}}}{{{controlled by|}}}{{{controlled_by|}}}{{{open_to_public|}}}{{{condition|}}}{{{status|}}}{{{site_other|}}}{{{website|}}}|Site information}} | label10 = Owner | data10 = {{if empty|{{{ownership|}}}|{{{owner|}}}}} | label11 = Operator | data11 = {{{operator|}}} | label12 = Controlled&nbsp;by | data12 = {{if empty|{{{controlledby|}}}|{{{controlled by|}}}|{{{controlled_by|}}}}} | label13 = Open&nbsp;to<br />the&nbsp;public | data13 = {{{open_to_public|}}} | label14 = {{#if: {{{condition|}}}|Condition|Status}} | data14 = {{if empty|{{{condition|}}}|{{{status|}}}}} | label15 = {{#if:{{{site_other_label|}}} | {{{site_other_label}}} | Other site<br>facilities }} | data15 = {{{site_other|}}} | label16 = Website | data16 = {{{website|}}} | header17 = {{#if:{{{built|}}}{{{built_for|}}}{{{builder|}}}{{{architect|}}}{{{used|}}}{{{dates|}}}{{{materials|}}}{{{fate|}}}{{{demolished|}}}{{{battles|}}}{{{events|}}} | Site history }} | label18 = Built | data18 = {{{built|}}} | label19 = Built&nbsp;for | data19 = {{{built_for|}}} | label20 = Built&nbsp;by | data20 = {{{builder|}}} | label21 = Architect | data21 = {{{architect|}}} | label22 = In&nbsp;use | data22 = {{if empty|{{{used|}}}|{{{dates|}}}}} | label23 = Materials | data23 = {{{materials|}}} | label24 = Fate | data24 = {{{fate|}}} | label25 = Demolished | data25 = {{{demolished|}}} | label26 = Battles/wars | data26 = {{{battles|}}} | label27 = Events | data27 = {{{events|}}} | header28 = {{#if:{{{commander|}}}{{{current_commander|}}}{{{past_commanders|{{{commanders|}}}}}}{{{garrison|}}}{{{occupants|}}} | Garrison information }} | label29 = Current<br />commander | data29 = {{if empty|{{{current_commander|}}}|{{{commander|}}}}} | label30 = Past<br />commanders | data30 = {{if empty|{{{past_commanders|}}}|{{{commanders|}}}}} | label31 = Garrison | data31 = {{{garrison|}}} | label32 = Occupants | data32 = {{{occupants|}}} | label33 = Designations | data33 = {{{designations|}}} | header34 = {{#if:{{{subcritical_tests|}}}{{{nuclear_tests|}}}{{{thermonuclear_tests|}}}{{{other_tests|}}}{{{remediation|}}} | Test information }} | label35 = [[Subcritical]] tests | data35 = {{{subcritical_tests|}}} | label36 = [[Nuclear fission|Nuclear]] tests | data36 = {{{nuclear_tests|}}} | label37 = [[Nuclear fusion|Thermonuclear]] tests | data37 = {{{thermonuclear_tests|}}} | label38 = {{#if:{{{other_tests_label|}}} | {{{other_tests_label}}} | Other tests }} | data38 = {{{other_tests|}}} | label39 = [[Environmental remediation|Remediation]] | data39 = {{{remediation|}}} <!-- image3 testing area (START) --> | data40 = {{#if:{{{image3|}}}| {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{{image3_size|}}}|sizedefault=250px|alt={{{image3_alt|{{{alt3|}}}}}}}}{{#if:{{{caption3|}}}|<div>{{{caption3|}}}</div>}}}} <!-- image3 testing area (END) --> | header41 = {{#if:{{{r1-number|}}}{{{r1-length|}}}{{{r1-surface|}}}{{{h1-number|}}}{{{h1-length|}}}{{{h1-surface|}}}{{{airfield_other|}}}{{{elevation|}}}{{{IATA|}}}{{{ICAO|}}}{{{FAA|}}}{{{TC|}}}{{{LID|}}}{{{GPS|}}}{{{WMO|}}} |Airfield information}} <!-- this next bit is to display ICAO, IATA etc codes if the airfield has (any of) these --> | label42 = Identifiers | data42 = {{comma separated entries |1= {{#if:{{{IATA|}}} | [[International Air Transport Association airport code|IATA]]: {{{IATA|}}}}} |2= {{#if:{{{ICAO|}}} | [[International Civil Aviation Organization airport code|ICAO]]: {{{ICAO}}}}} |3= {{#if:{{{FAA|}}} |[[Location identifier#FAA identifier|FAA LID]]: {{{FAA}}}}} |4= {{#if:{{{TC|}}} | [[Location identifier#Transport Canada identifier|TC LID]]: {{{TC}}}}} |5= {{#if:{{{LID|}}}| [[Location identifier|LID]]: {{{LID}}}}} |6= {{#if:{{{GPS|}}}| [[Global Positioning System|GPS]]: {{{GPS}}}}} |7= {{#if:{{{WMO|}}}| [[Location identifier#WMO station identifiers|WMO]]: {{{WMO}}}}} }} | label43 = Elevation | data43 = {{#if:{{{elevation|}}} |{{{elevation}}} [[Above mean sea level|AMSL]] }} | data44 = {{#if: {{{r1-number|}}} {{{r1-length|}}} {{{r1-surface|}}}| <table style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;"> <tr style="background-color: #ddd"> <th colspan=2 style="font-weight:normal; border:solid 1px #fafafa; border-width:0 0 1px 0;">Runways</th> </tr><tr style="background-color: #ddd; text-align: left;"> <th scope=col style="font-weight:normal; width: 25%; border:solid 1px #fafafa; border-width:1px 1px 0 0;padding:1px 2px;">[[Runway#Orientation and dimensions|Direction]]</th> <th scope=col style="font-weight:normal; width: 75%; border:solid 1px #fafafa; border-width:1px 0 0 1px;padding:1px 2px;">Length and surface</th> </tr><tr> <td style="text-align: center;">{{{r1-number|}}}</td> <td style="text-align: left;">{{{r1-length}}}&nbsp;{{{r1-surface}}}</td> </tr>{{#if:{{{r2-number|}}} {{{r2-length|}}} {{{r2-surface|}}}| <tr> <td style="text-align: center;">{{{r2-number|}}}</td> <td style="text-align: left;">{{{r2-length}}}&nbsp;{{{r2-surface}}}</td> </tr>}}{{#if:{{{r3-number|}}} {{{r3-length|}}} {{{r3-surface|}}}| <tr> <td style="text-align: center;">{{{r3-number|}}}</td> <td style="text-align: left;">{{{r3-length}}}&nbsp;{{{r3-surface}}}</td> </tr>}}{{#if:{{{r4-number|}}} {{{r4-length|}}} {{{r4-surface|}}}| <tr> <td style="text-align: center;">{{{r4-number|}}}</td> <td style="text-align: left;">{{{r4-length}}}&nbsp;{{{r4-surface}}}</td> </tr>}}{{#if:{{{r5-number|}}} {{{r5-length|}}} {{{r5-surface|}}}| <tr> <td style="text-align: center;">{{{r5-number|}}}</td> <td style="text-align: left;">{{{r5-length}}}&nbsp;{{{r5-surface}}}</td> </tr>}}{{#if:{{{r6-number|}}} {{{r6-length|}}} {{{r6-surface|}}}| <tr> <td style="text-align: center;">{{{r6-number|}}}</td> <td style="text-align: left;">{{{r6-length}}}&nbsp;{{{r6-surface}}}</td> </tr>}}{{#if:{{{r7-number|}}} {{{r7-length|}}} {{{r7-surface|}}}| <tr> <td style="text-align: center;">{{{r7-number|}}}</td> <td style="text-align: left;">{{{r7-length}}}&nbsp;{{{r7-surface}}}</td> </tr>}}{{#if:{{{r8-number|}}} {{{r8-length|}}} {{{r8-surface|}}}| <tr> <td style="text-align: center;">{{{r8-number|}}}</td> <td style="text-align: left;">{{{r8-length}}}&nbsp;{{{r8-surface}}}</td> </tr>}}{{#if:{{{r9-number|}}} {{{r9-length|}}} {{{r9-surface|}}}| <tr> <td style="text-align: center;">{{{r9-number|}}}</td> <td style="text-align: left;">{{{r9-length}}}&nbsp;{{{r9-surface}}}</td> </tr>}}</table>}} | data45 = {{#if: {{{h1-number|}}} {{{h1-length|}}} {{{h1-surface|}}}| <table style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;"> <tr style="background-color: #ddd"> <th colspan=2 style="font-weight:normal; border:solid 1px #fafafa; border-width:0 0 1px 0;">Helipads</th> </tr><tr style="background-color: #ddd; text-align: left;"> <th scope=col style="font-weight:normal; width: 25%; border:solid 1px #fafafa; border-width:1px 1px 0 0; padding:1px 2px;">Number</th> <th scope=col style="font-weight:normal; width: 75%; border:solid 1px #fafafa; border-width:1px 0 0 1px; padding:1px 2px;">Length and surface</th> </tr> {{#if:{{{h1-number|}}} {{{h1-length|}}} {{{h1-surface|}}}| <tr> <td style="text-align: center;">{{{h1-number|}}}</td> <td style="text-align: left;">{{{h1-length}}}&nbsp;{{{h1-surface}}}</td> </tr>}} {{#if:{{{h2-number|}}} {{{h2-length|}}} {{{h2-surface|}}}| <tr> <td style="text-align: center;">{{{h2-number|}}}</td> <td style="text-align: left;">{{{h2-length}}}&nbsp;{{{h2-surface}}}</td> </tr>}} {{#if:{{{h3-number|}}} {{{h3-length|}}} {{{h3-surface|}}}| <tr> <td style="text-align: center;">{{{h3-number|}}}</td> <td style="text-align: left;">{{{h3-length}}}&nbsp;{{{h3-surface}}}</td> </tr>}} {{#if:{{{h4-number|}}} {{{h4-length|}}} {{{h4-surface|}}}| <tr> <td style="text-align: center;">{{{h4-number|}}}</td> <td style="text-align: left;">{{{h4-length}}}&nbsp;{{{h4-surface}}}</td> </tr>}} {{#if:{{{h5-number|}}} {{{h5-length|}}} {{{h5-surface|}}}| <tr> <td style="text-align: center;">{{{h5-number|}}}</td> <td style="text-align: left;">{{{h5-length}}}&nbsp;{{{h5-surface}}}</td> </tr>}} {{#if:{{{h6-number|}}} {{{h6-length|}}} {{{h6-surface|}}}| <tr> <td style="text-align: center;">{{{h6-number|}}}</td> <td style="text-align: left;">{{{h6-length}}}&nbsp;{{{h6-surface}}}</td> </tr>}}</table>}} | label46 = {{#if:{{{airfield_other_label|}}} | {{{airfield_other_label}}} | Other airfield<br>facilities }} | data46 = {{{airfield_other|}}} | header47 = {{{nrhp|{{{embedded|{{{module|}}}}}}}}} | belowstyle = text-align: left; background-color: #eee | below = {{{footnotes|}}} }}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military installation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox military installation]] with unknown parameter "_VALUE_" | embed | name| designations| ensign| ensign_size| ensign_alt| native_name| nativename| nativename-a| nativename-r|partof| location| nearest_town| country| image| image_size| image_alt| alt| caption| image2| image2_size| image2_alt| alt2| caption2| map| image_map |map_size| image_mapsize| map_alt| image_map_alt| map_caption| image_map_caption| pushpin_map| map_type| pushpin_label_position| pushpin_label| pushpin_map_alt| pushpin_mark| pushpin_marksize| pushpin_mapsize| pushpin_relief| map_relief| pushpin_image| pushpin_map_caption| coordinates| coordinates_footnotes| gridref| type| code| site_area| height| length| ownership| owner| operator| controlledby| controlled by| controlled_by| open_to_public| condition| status| site_other| website| site_other_label| built| built_for| builder| architect| used| dates |materials| fate| demolished| battles| events| current_commander| past_commanders| garrison| occupants| subcritical_tests| nuclear_tests| thermonuclear_tests| other_tests| remediation| other_tests_label| image3| image3_size| image3_alt| alt3| caption3| r1-number| r1-length| r1-surface| h1-number| h1-length| h1-surface| airfield_other| elevation| IATA| ICAO| FAA| TC| LID| GPS| WMO| r2-number| r2-length| r2-surface| r3-number| r3-length| r3-surface| r4-number| r4-length| r4-surface| r5-number| r5-length| r5-surface| r6-number| r6-length| r6-surface| r7-number| r7-length| r7-surface| r8-number| r8-length| r8-surface| r9-number| r9-length| r9-surface| h2-number| h2-length| h2-surface| h3-number| h3-length| h3-surface| h4-number| h4-length| h4-surface| h5-number| h5-length| h5-surface| h6-number| h6-length| h6-surface| airfield_other_label| |nrhp |embedded |module| footnotes }}{{#if:{{#if:{{both|{{{ownership|}}}|{{{owner|}}}}}|1}}{{#if:{{both|{{{condition|}}}|{{{status|}}}}}|1}}{{#if:{{both|{{{used|}}}|{{{dates|}}}}}|1}}|[[Category:Pages using infobox military installation with unknown parameters|Δ]] }}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.* .*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]] }}<noinclude> {{Documentation}} <!-- Please add categories to the /doc subpage, not here. --> </noinclude> 602e6c64562675f7cbc5c2d67850da8a04f1da16 Module:Separated entries 828 24 32 2019-12-18T20:26:33Z Rubikia 30444800 Created page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independen..." Scribunto text/plain -- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HTML escape sequences, such as "&#32;" for space. and mw.text.decode(args.separator) or '' local conjunction = args.conjunction and mw.text.decode(args.conjunction) or separator -- Discard values before the starting parameter. local start = tonumber(args.start) if start then for i = 1, start - 1 do args[i] = nil end end -- Discard named parameters. local values = compressSparseArray(args) return mw.text.listToText(values, separator, conjunction) end local function makeInvokeFunction(separator, conjunction, first) return function (frame) local args = require('Module:Arguments').getArgs(frame) args.separator = separator or args.separator args.conjunction = conjunction or args.conjunction args.first = first or args.first return p._main(args) end end p.main = makeInvokeFunction() p.br = makeInvokeFunction('<br />') p.comma = makeInvokeFunction(mw.message.new('comma-separator'):plain()) return p e80231ff3de01afd7f62a94e0a34dc1e67504085 Module:InfoboxImage 828 25 33 2019-12-18T20:28:05Z Rubikia 30444800 Created page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage ima..." Scribunto text/plain -- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for image -- title - title text for image -- border - set to yes if border -- center - set to yes, if the image has to be centered -- upright - upright image param -- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it -- link - page to visit when clicking on image -- Outputs: -- Formatted image. -- More details available at the "Module:InfoboxImage/doc" page local i = {}; local placeholder_image = { "Blue - Replace this image female.svg", "Blue - Replace this image male.svg", "Female no free image yet.png", "Flag of None (square).svg", "Flag of None.svg", "Flag of.svg", "Green - Replace this image female.svg", "Green - Replace this image male.svg", "Image is needed female.svg", "Image is needed male.svg", "Location map of None.svg", "Male no free image yet.png", "Missing flag.png", "No flag.svg", "No free portrait.svg", "No portrait (female).svg", "No portrait (male).svg", "Red - Replace this image female.svg", "Red - Replace this image male.svg", "Replace this image female (blue).svg", "Replace this image female.svg", "Replace this image male (blue).svg", "Replace this image male.svg", "Silver - Replace this image female.svg", "Silver - Replace this image male.svg", "Replace this image.svg", "Cricket no pic.png", "CarersLogo.gif", "Diagram Needed.svg", "Example.jpg", "Image placeholder.png", "No male portrait.svg", "Nocover-upload.png", "NoDVDcover copy.png", "Noribbon.svg", "No portrait-BFD-test.svg", "Placeholder barnstar ribbon.png", "Project Trains no image.png", "Image-request.png", "Sin bandera.svg", "Sin escudo.svg", "Replace this image - temple.png", "Replace this image butterfly.png", "Replace this image.svg", "Replace this image1.svg", "Resolution angle.png", "Image-No portrait-text-BFD-test.svg", "Insert image here.svg", "No image available.png", "NO IMAGE YET square.png", "NO IMAGE YET.png", "No Photo Available.svg", "No Screenshot.svg", "No-image-available.jpg", "Null.png", "PictureNeeded.gif", "Place holder.jpg", "Unbenannt.JPG", "UploadACopyrightFreeImage.svg", "UploadAnImage.gif", "UploadAnImage.svg", "UploadAnImageShort.svg", "CarersLogo.gif", "Diagram Needed.svg", "No male portrait.svg", "NoDVDcover copy.png", "Placeholder barnstar ribbon.png", "Project Trains no image.png", "Image-request.png", "Noimage.gif", } function i.IsPlaceholder(image) -- change underscores to spaces image = mw.ustring.gsub(image, "_", " "); assert(image ~= nil, 'mw.ustring.gsub(image, "_", " ") must not return nil') -- if image starts with [[ then remove that and anything after | if mw.ustring.sub(image,1,2) == "[[" then image = mw.ustring.sub(image,3); image = mw.ustring.gsub(image, "([^|]*)|.*", "%1"); assert(image ~= nil, 'mw.ustring.gsub(image, "([^|]*)|.*", "%1") must not return nil') end -- Trim spaces image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1'); assert(image ~= nil, "mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1') must not return nil") -- remove prefix if exists local allNames = mw.site.namespaces[6].aliases allNames[#allNames + 1] = mw.site.namespaces[6].name allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName for i, name in ipairs(allNames) do if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then image = mw.ustring.sub(image, mw.ustring.len(name) + 2); break end end -- Trim spaces image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1'); -- capitalise first letter image = mw.ustring.upper(mw.ustring.sub(image,1,1)) .. mw.ustring.sub(image,2); for i,j in pairs(placeholder_image) do if image == j then return true end end return false end function i.InfoboxImage(frame) local image = frame.args["image"]; if image == "" or image == nil then return ""; end if image == "&nbsp;" then return image; end if frame.args["suppressplaceholder"] ~= "no" then if i.IsPlaceholder(image) == true then return ""; end end if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "http:" then return ""; end if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then return ""; end if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then return ""; end if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then return ""; end if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then return ""; end if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then return ""; end if mw.ustring.sub(image,1,2) == "[[" then -- search for thumbnail images and add to tracking cat if found if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then return image .. "[[Category:Pages using infoboxes with thumbnail images]]"; elseif mw.title.getCurrentTitle().namespace == 0 then return image .. "[[Category:Pages using deprecated image syntax]]"; else return image; end elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then return image; elseif mw.ustring.sub(image,1,1) == "<" then return image; elseif mw.ustring.sub(image,1,5) == mw.ustring.char(127).."UNIQ" then -- Found strip marker at begining, so pass don't process at all return image; elseif mw.ustring.sub(image,4,9) == "`UNIQ-" then -- Found strip marker at begining, so pass don't process at all return image; else local result = ""; local page = frame.args["page"]; local size = frame.args["size"]; local maxsize = frame.args["maxsize"]; local sizedefault = frame.args["sizedefault"]; local alt = frame.args["alt"]; local link = frame.args["link"]; local title = frame.args["title"]; local border = frame.args["border"]; local upright = frame.args["upright"] or ""; local thumbtime = frame.args["thumbtime"] or ""; local center= frame.args["center"]; -- remove prefix if exists local allNames = mw.site.namespaces[6].aliases allNames[#allNames + 1] = mw.site.namespaces[6].name allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName for i, name in ipairs(allNames) do if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then image = mw.ustring.sub(image, mw.ustring.len(name) + 2); break end end if maxsize ~= "" and maxsize ~= nil then -- if no sizedefault then set to maxsize if sizedefault == "" or sizedefault == nil then sizedefault = maxsize end -- check to see if size bigger than maxsize if size ~= "" and size ~= nil then local sizenumber = tonumber(mw.ustring.match(size,"%d*")) or 0; local maxsizenumber = tonumber(mw.ustring.match(maxsize,"%d*")) or 0; if sizenumber>maxsizenumber and maxsizenumber>0 then size = maxsize; end end end -- add px to size if just a number if (tonumber(size) or 0) > 0 then size = size .. "px"; end -- add px to sizedefault if just a number if (tonumber(sizedefault) or 0) > 0 then sizedefault = sizedefault .. "px"; end result = "[[File:" .. image; if page ~= "" and page ~= nil then result = result .. "|page=" .. page; end if size ~= "" and size ~= nil then result = result .. "|" .. size; elseif sizedefault ~= "" and sizedefault ~= nil then result = result .. "|" .. sizedefault; else result = result .. "|frameless"; end if center == "yes" then result = result .. "|center" end if alt ~= "" and alt ~= nil then result = result .. "|alt=" .. alt; end if link ~= "" and link ~= nil then result = result .. "|link=" .. link; end if border == "yes" then result = result .. "|border"; end if upright == "yes" then result = result .. "|upright"; elseif upright ~= "" then result = result .. "|upright=" .. upright; end if thumbtime ~= "" then result = result .. "|thumbtime=" .. thumbtime; end if title ~= "" and title ~= nil then result = result .. "|" .. title; elseif alt ~= "" and alt ~= nil then result = result .. "|" .. alt; end result = result .. "]]"; return result; end end return i; e5a1d0627100284ba1e857a7de6be2dd1ef86b46 Module:TableTools 828 26 34 2019-12-18T20:30:13Z Rubikia 30444800 Created page with "--[[ ------------------------------------------------------------------------------------ -- TableTools --..." Scribunto text/plain --[[ ------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should -- -- not be called directly from #invoke. -- ------------------------------------------------------------------------------------ --]] local libraryUtil = require('libraryUtil') local p = {} -- Define often-used variables and functions. local floor = math.floor local infinity = math.huge local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti --[[ ------------------------------------------------------------------------------------ -- isPositiveInteger -- -- This function returns true if the given value is a positive integer, and false -- if not. Although it doesn't operate on tables, it is included here as it is -- useful for determining whether a given table key is in the array part or the -- hash part of a table. ------------------------------------------------------------------------------------ --]] function p.isPositiveInteger(v) if type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity then return true else return false end end --[[ ------------------------------------------------------------------------------------ -- isNan -- -- This function returns true if the given number is a NaN value, and false -- if not. Although it doesn't operate on tables, it is included here as it is -- useful for determining whether a value can be a valid table key. Lua will -- generate an error if a NaN is used as a table key. ------------------------------------------------------------------------------------ --]] function p.isNan(v) if type(v) == 'number' and tostring(v) == '-nan' then return true else return false end end --[[ ------------------------------------------------------------------------------------ -- shallowClone -- -- This returns a clone of a table. The value returned is a new table, but all -- subtables and functions are shared. Metamethods are respected, but the returned -- table will have no metatable of its own. ------------------------------------------------------------------------------------ --]] function p.shallowClone(t) local ret = {} for k, v in pairs(t) do ret[k] = v end return ret end --[[ ------------------------------------------------------------------------------------ -- removeDuplicates -- -- This removes duplicate values from an array. Non-positive-integer keys are -- ignored. The earliest value is kept, and all subsequent duplicate values are -- removed, but otherwise the array order is unchanged. ------------------------------------------------------------------------------------ --]] function p.removeDuplicates(t) checkType('removeDuplicates', 1, t, 'table') local isNan = p.isNan local ret, exists = {}, {} for i, v in ipairs(t) do if isNan(v) then -- NaNs can't be table keys, and they are also unique, so we don't need to check existence. ret[#ret + 1] = v else if not exists[v] then ret[#ret + 1] = v exists[v] = true end end end return ret end --[[ ------------------------------------------------------------------------------------ -- numKeys -- -- This takes a table and returns an array containing the numbers of any numerical -- keys that have non-nil values, sorted in numerical order. ------------------------------------------------------------------------------------ --]] function p.numKeys(t) checkType('numKeys', 1, t, 'table') local isPositiveInteger = p.isPositiveInteger local nums = {} for k, v in pairs(t) do if isPositiveInteger(k) then nums[#nums + 1] = k end end table.sort(nums) return nums end --[[ ------------------------------------------------------------------------------------ -- affixNums -- -- This takes a table and returns an array containing the numbers of keys with the -- specified prefix and suffix. For example, for the table -- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will -- return {1, 3, 6}. ------------------------------------------------------------------------------------ --]] function p.affixNums(t, prefix, suffix) checkType('affixNums', 1, t, 'table') checkType('affixNums', 2, prefix, 'string', true) checkType('affixNums', 3, suffix, 'string', true) local function cleanPattern(s) -- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally. s = s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1') return s end prefix = prefix or '' suffix = suffix or '' prefix = cleanPattern(prefix) suffix = cleanPattern(suffix) local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$' local nums = {} for k, v in pairs(t) do if type(k) == 'string' then local num = mw.ustring.match(k, pattern) if num then nums[#nums + 1] = tonumber(num) end end end table.sort(nums) return nums end --[[ ------------------------------------------------------------------------------------ -- numData -- -- Given a table with keys like ("foo1", "bar1", "foo2", "baz2"), returns a table -- of subtables in the format -- { [1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'} } -- Keys that don't end with an integer are stored in a subtable named "other". -- The compress option compresses the table so that it can be iterated over with -- ipairs. ------------------------------------------------------------------------------------ --]] function p.numData(t, compress) checkType('numData', 1, t, 'table') checkType('numData', 2, compress, 'boolean', true) local ret = {} for k, v in pairs(t) do local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$') if num then num = tonumber(num) local subtable = ret[num] or {} if prefix == '' then -- Positional parameters match the blank string; put them at the start of the subtable instead. prefix = 1 end subtable[prefix] = v ret[num] = subtable else local subtable = ret.other or {} subtable[k] = v ret.other = subtable end end if compress then local other = ret.other ret = p.compressSparseArray(ret) ret.other = other end return ret end --[[ ------------------------------------------------------------------------------------ -- compressSparseArray -- -- This takes an array with one or more nil values, and removes the nil values -- while preserving the order, so that the array can be safely traversed with -- ipairs. ------------------------------------------------------------------------------------ --]] function p.compressSparseArray(t) checkType('compressSparseArray', 1, t, 'table') local ret = {} local nums = p.numKeys(t) for _, num in ipairs(nums) do ret[#ret + 1] = t[num] end return ret end --[[ ------------------------------------------------------------------------------------ -- sparseIpairs -- -- This is an iterator for sparse arrays. It can be used like ipairs, but can -- handle nil values. ------------------------------------------------------------------------------------ --]] function p.sparseIpairs(t) checkType('sparseIpairs', 1, t, 'table') local nums = p.numKeys(t) local i = 0 local lim = #nums return function () i = i + 1 if i <= lim then local key = nums[i] return key, t[key] else return nil, nil end end end --[[ ------------------------------------------------------------------------------------ -- size -- -- This returns the size of a key/value pair table. It will also work on arrays, -- but for arrays it is more efficient to use the # operator. ------------------------------------------------------------------------------------ --]] function p.size(t) checkType('size', 1, t, 'table') local i = 0 for k in pairs(t) do i = i + 1 end return i end local function defaultKeySort(item1, item2) -- "number" < "string", so numbers will be sorted before strings. local type1, type2 = type(item1), type(item2) if type1 ~= type2 then return type1 < type2 else -- This will fail with table, boolean, function. return item1 < item2 end end --[[ Returns a list of the keys in a table, sorted using either a default comparison function or a custom keySort function. ]] function p.keysToList(t, keySort, checked) if not checked then checkType('keysToList', 1, t, 'table') checkTypeMulti('keysToList', 2, keySort, { 'function', 'boolean', 'nil' }) end local list = {} local index = 1 for key, value in pairs(t) do list[index] = key index = index + 1 end if keySort ~= false then keySort = type(keySort) == 'function' and keySort or defaultKeySort table.sort(list, keySort) end return list end --[[ Iterates through a table, with the keys sorted using the keysToList function. If there are only numerical keys, sparseIpairs is probably more efficient. ]] function p.sortedPairs(t, keySort) checkType('sortedPairs', 1, t, 'table') checkType('sortedPairs', 2, keySort, 'function', true) local list = p.keysToList(t, keySort, true) local i = 0 return function() i = i + 1 local key = list[i] if key ~= nil then return key, t[key] else return nil, nil end end end --[[ Returns true if all keys in the table are consecutive integers starting at 1. --]] function p.isArray(t) checkType("isArray", 1, t, "table") local i = 0 for k, v in pairs(t) do i = i + 1 if t[i] == nil then return false end end return true end -- { "a", "b", "c" } -> { a = 1, b = 2, c = 3 } function p.invert(array) checkType("invert", 1, array, "table") local map = {} for i, v in ipairs(array) do map[v] = i end return map end --[[ { "a", "b", "c" } -> { ["a"] = true, ["b"] = true, ["c"] = true } --]] function p.listToSet(t) checkType("listToSet", 1, t, "table") local set = {} for _, item in ipairs(t) do set[item] = true end return set end --[[ Recursive deep copy function. Preserves identities of subtables. ]] local function _deepCopy(orig, includeMetatable, already_seen) -- Stores copies of tables indexed by the original table. already_seen = already_seen or {} local copy = already_seen[orig] if copy ~= nil then return copy end if type(orig) == 'table' then copy = {} for orig_key, orig_value in pairs(orig) do copy[deepcopy(orig_key, includeMetatable, already_seen)] = deepcopy(orig_value, includeMetatable, already_seen) end already_seen[orig] = copy if includeMetatable then local mt = getmetatable(orig) if mt ~= nil then local mt_copy = deepcopy(mt, includeMetatable, already_seen) setmetatable(copy, mt_copy) already_seen[mt] = mt_copy end end else -- number, string, boolean, etc copy = orig end return copy end function p.deepCopy(orig, noMetatable, already_seen) checkType("deepCopy", 3, already_seen, "table", true) return _deepCopy(orig, not noMetatable, already_seen) end --[[ Concatenates all values in the table that are indexed by a number, in order. sparseConcat{ a, nil, c, d } => "acd" sparseConcat{ nil, b, c, d } => "bcd" ]] function p.sparseConcat(t, sep, i, j) local list = {} local list_i = 0 for _, v in p.sparseIpairs(t) do list_i = list_i + 1 list[list_i] = v end return table.concat(list, sep, i, j) end --[[ -- This returns the length of a table, or the first integer key n counting from -- 1 such that t[n + 1] is nil. It is similar to the operator #, but may return -- a different value when there are gaps in the array portion of the table. -- Intended to be used on data loaded with mw.loadData. For other tables, use #. -- Note: #frame.args in frame object always be set to 0, regardless of -- the number of unnamed template parameters, so use this function for -- frame.args. --]] function p.length(t) local i = 1 while t[i] ~= nil do i = i + 1 end return i - 1 end function p.inArray(arr, valueToFind) checkType("inArray", 1, arr, "table") -- if valueToFind is nil, error? for _, v in ipairs(arr) do if v == valueToFind then return true end end return false end return p fe918509f168332267834b3a6f5c219a9de5b2e7 Module:Documentation/config 828 29 37 2019-12-18T20:46:52Z Rubikia 30444800 Created page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation..." Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[Image:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] -- A category to add to all template sandboxes. cfg['sandbox-category'] = 'Template sandboxes' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Template documentation' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Module documentation' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Documentation' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'view' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'edit' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'history' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'create' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages." cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandbox' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandbox' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'edit' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'create' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'edit' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'run' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'create' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Please add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/doc' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Subpages of this $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'template' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'module' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'page' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'doc' -- cfg['file-docpage-preload'] -- Preload file for documentation page in the file namespace. cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- Print version configuration ---------------------------------------------------------------------------------------------------- -- cfg['print-subpage'] -- The name of the template subpage used for print versions. cfg['print-subpage'] = 'Print' -- cfg['print-link-display'] -- The text to display when linking to the /Print subpage. cfg['print-link-display'] = '/Print' -- cfg['print-blurb'] -- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display']. cfg['print-blurb'] = 'A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at $1.' .. ' If you make a change to this template, please update the print version as well.' -- cfg['display-print-category'] -- Set to true to enable output of cfg['print-category'] if a /Print subpage exists. -- This should be a boolean value (either true or false). cfg['display-print-category'] = true -- cfg['print-category'] -- Category to output if cfg['display-print-category'] is set to true, and a /Print subpage exists. cfg['print-category'] = 'Templates with print versions' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['main-div-id'] -- The "id" attribute of the main HTML "div" tag. cfg['main-div-id'] = 'template-documentation' -- cfg['main-div-classes'] -- The CSS classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'template-documentation iezoomfix' -- cfg['start-box-linkclasses'] -- The CSS classes used for the [view][edit][history] or [create] links in the start box. cfg['start-box-linkclasses'] = 'mw-editsection-like plainlinks' -- cfg['start-box-link-id'] -- The HTML "id" attribute for the links in the start box. cfg['start-box-link-id'] = 'doc_editlinks' ---------------------------------------------------------------------------------------------------- -- {{fmbox}} template configuration ---------------------------------------------------------------------------------------------------- -- cfg['fmbox-id'] -- The id sent to the "id" parameter of the {{fmbox}} template. cfg['fmbox-id'] = 'documentation-meta-data' -- cfg['fmbox-style'] -- The value sent to the style parameter of {{fmbox}}. cfg['fmbox-style'] = 'background-color: #ecfcf4' -- cfg['fmbox-textstyle'] -- The value sent to the "textstyle parameter of {{fmbox}}. cfg['fmbox-textstyle'] = 'font-style: italic' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg 37a2dfddf613853a4d472db0179b6fe844360519 Orzpurs 0 30 47 2019-12-18T21:20:16Z Rubikia 30444800 Created page with "[[Orzpurs]] is the capital and largest city of Osenia by both area and population. It is located near a natural harbour on its south-eastern coast. Orzpurs has been continuous..." wikitext text/x-wiki [[Orzpurs]] is the capital and largest city of Osenia by both area and population. It is located near a natural harbour on its south-eastern coast. Orzpurs has been continuously inhabited for over a millennia, founded as ''Orapir'' in the early 2nd century by x, and conquered by the Osenians in the 4th century. d79a56dfcb5ebc8fdf6495c379b6e6f0ec795841 48 47 2019-12-18T21:21:02Z Rubikia 30444800 wikitext text/x-wiki [[Orzpurs]] is the capital and largest city of [[Osenia]] by both area and population. It is located near a natural harbour on its south-eastern coast. Orzpurs has been continuously inhabited for over a millennia, founded as ''Orapir'' in the early 2nd century by x, and conquered by the Osenians in the 4th century. a7accc25024759e5703a282d19ea0c66987fecda Halcrea 0 31 49 2019-12-19T11:25:07Z Rubikia 30444800 Created page with "The '''Confederated States of Halcrea''' is a nation-state located in central Alapa." wikitext text/x-wiki The '''Confederated States of Halcrea''' is a nation-state located in central Alapa. e68c1c99e963b0a0db31bb8fcf00dc5220175a4a 50 49 2019-12-19T11:48:18Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Donbile |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Plastyk (₽) |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = donbile_location.png |map_caption = Location of Donbile in 10505:2 |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. a73b501529f05546507d12a8067d7b07e1fbb4d5 51 50 2019-12-19T11:49:52Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Halcrea |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= |largest_city= capital |official_languages= |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. a92340d51b558558eb88c6f7b7dd4331d6649f0b 53 51 2019-12-19T13:06:46Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Halcrea |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= Freedom City |largest_city= Kelvor |official_languages= Malisan |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. f051a9fd310bc43220b446eaa6c555eed891960c File:Halcreaflag.png 6 32 52 2019-12-19T11:50:20Z Rubikia 30444800 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Halcrea 0 31 54 53 2019-12-19T17:15:19Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Halcrea |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= Halcrean City |largest_city= Kelvor |official_languages= Malisan |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. 323fad55058b14e6ec21f21daf9bbc19bbc12e08 55 54 2019-12-19T20:05:32Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Halcrea |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= Halcrean City |largest_city= Kelvor |official_languages= Malisan |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. Halcrea borders x to the west, x to the south and x to the east. It has 70 states, 3 national districts and a population of over 350 million. [[Category: Countries]] 8876f55065ab093314c9744f791b5fdbadbfd5fc 68 55 2019-12-20T13:57:03Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Confederated States of Halcrea |common_name = Halcrea |image_flag= halcreaflag.png |image_coat = |national_motto= |anthem = |capital= [[Halcrean City]] |largest_city= [[Kelvor]] |official_languages= [[Malisan]] |demonym= Halcrean |government_type= |leader_title1 = President |leader_name1 = |leader_title2 = |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = |established_date1 = |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= |population_estimate = 350 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} The '''Confederated States of Halcrea''' is a nation-state located in central [[Alapa]]. Halcrea borders x to the west, x to the south and x to the east. It has 70 states, 3 national districts and a population of over 350 million. [[Category: Countries]] 99aa5a67a6c2117b169666d859da52d1a83a0834 Osenia 0 20 56 46 2019-12-19T20:06:04Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= [[Orzpurs]] |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, [[Orzpurs]], is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Yerasals Rising in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the Great War but it was briefly occupied by x during the [[Osenian War]] in 1962. [[Category: Countries]] e7f16930195a1bfe575f6f5208bf03ed4731ac16 69 56 2019-12-20T14:18:46Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= [[Orzpurs]] |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, [[Orzpurs]], is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The Y[[erasals Rising]] in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the [[Great War]] but it was briefly occupied by x during the [[Osenian War]] in 1962. [[Category: Countries]] b93d76022aac1335fda69aa1bd170ac917fd52f3 70 69 2019-12-20T14:48:09Z Rubikia 30444800 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Osenia |common_name = Osenia |image_flag= |image_coat = |national_motto= |anthem = |capital= [[Orzpurs]] |largest_city= capital |official_languages= Osenian |demonym= Osenian |government_type= Unitary parliamentary constitutional republic |leader_title1 = President |leader_name1 = |leader_title2 = Prime Minister |leader_name2 = |legislature = |upper_house= |lower_house= |sovereignty_type = |established_event1 = [[Treaty of Orzpurs]] |established_date1 = 1893 |established_event2 = |established_date2 = |established_event3 = |established_date3 = |established_event4 = |established_date4 = |established_event5 = |established_date5 = |currency= Osenmark |population_estimate = 73 million |population_estimate_year = 2061 |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |GDP_nominal = |GDP_nominal_year = |GDP_nominal_per_capita = |area_km2 = |area_sq_mi = |calling_code= |image_map = |map_caption = |map_width = 220px |image_map2 = |map_caption2 = }} '''Osenia''', officially the '''Republic of Osenia''', is a nation-state found on the [[Osenian Penninsula]] in north-western [[Reda]]. Osenia is surrounded by seas apart from its westernmost reaches, where it borders x to the north and x to the west. Osenia has a population of 74 million, with most living in its eastern regions and large coastal cities. After the [[Lesser War]] in 2011, Osenia became a founding member of the [[Global Peace Council]] and its capital, [[Orzpurs]], is one of eight conference zones. In classical antiquity, Osenian tribes inhabited areas of Reda further south than modern-day Osenia. The conquest of their lands by the [[Foratite Empire]] in the 3rd century forced the Osenian tribes to migrate towards the Osenian Penninsula, while many were enslaved and relocated across Reda. Osenia was first unified in the 9th century but remained divided until its conquest by the [[Derevonian Empire]] in the 15th century. The [[Yerasals Rising]] in 1765 resulted in increased rights for citizens in the Empire. The [[Osenian War of Independence]] and the [[Treaty of Orzpurs]] resulted in Osenia gaining its independence in 1893. Osenian land grew westward after the [[Great War]] but it was briefly occupied by x during the [[Osenian War]] in 1962. [[Category: Countries]] a227216cd5d6b54961307991969df1fd7d98831e Category:Countries 14 33 57 2019-12-19T20:07:23Z Rubikia 30444800 Created blank page wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Bushfire Wars 0 34 58 2019-12-20T12:00:06Z Rubikia 30444800 Created page with "The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly Halcrean|Halcre..." wikitext text/x-wiki The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrean|Halcrea]] forces. 3ddfcac9ef0c25dd53bbda6dd80d0f17d10d4bb2 59 58 2019-12-20T12:00:28Z Rubikia 30444800 wikitext text/x-wiki The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. ff13091c4611b94c25e00a368c6bef52416a047c 60 59 2019-12-20T12:15:55Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2050 | date = 2045 - present | place = [[South Casin]] | result = Hanic victory | territory = | combatant1 = [[File:haniccoa.png|20px]] [[Halcrea]] | combatant2 = [[File:Targaardiancoa.png|20px]] [[Targaardian Empire]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. 42cb34b296bef92d7c920d1d7ddef79d7664ece6 61 60 2019-12-20T12:16:20Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2050 | date = 2045 - present | place = [[South Casin]] | result = Hanic victory | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:Targaardiancoa.png|20px]] [[Targaardian Empire]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. 8a34b75d804aa3f2b33742f074bd3269230131e7 63 61 2019-12-20T12:17:30Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2050 | date = 2045 - present | place = [[South Casin]] | result = Hanic victory | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:Targaardiancoa.png|20px]] [[Targaardian Empire]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. 6a70bb4a0f63de9156ab724b0946b603fb591067 64 63 2019-12-20T12:38:52Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2057 | date = 2055 - present | place = [[South Casin]] | result = Hanic victory | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[NDTU]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. This blanket term is applied to a number of largely unrelated conflicts in the region which quickly spread and supressed. a703a8c230682810ffb991e71f32494f07620201 65 64 2019-12-20T12:49:59Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2057 | date = 2055 - present | place = [[South Casin]] | result = Destabilisation of the region | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[NDTU]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. This blanket term is applied to a number of largely unrelated conflicts in the region which quickly spread and were supressed by outside forces. The Bushfire Wars have often been called an excersise of modern colonialism in South Casin. c097d0d0a66744e743de12408beaf20bf451bafc 66 65 2019-12-20T12:53:43Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2057 | date = 2055 - present | place = [[South Casin]] | result = Destabilisation of the region | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[NDTU]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. This blanket term is applied to a number of largely unrelated conflicts in the region which quickly spread and were supressed by outside forces. The Bushfire Wars have often been called an excersise of modern colonialism in South Casin. The wars include: * The [[Jasorcast War]] 4c604bdc6b965783f9b8a7437c4d8ee4e752b49e 67 66 2019-12-20T12:56:28Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Bushfire Wars | image = [[File:15ACSouthCasin2050.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2057 | date = 2055 - present | place = [[South Casin]] | result = Destabilisation of the region | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[NDTU]] | commander1 = Hans I | commander2 = Valdemar III | casualties1 = | casualties2 = }} The '''Bushfire Wars''' were a series of conflicts in the continent of [[South Casin]] fought between political insurgents and revolutionaries against mainly [[Halcrea|Halcrean]] forces. This blanket term is applied to a number of largely unrelated conflicts in the region which quickly spread and were supressed by outside forces. The Bushfire Wars have often been called an excersise of modern colonialism in South Casin. The wars include: * The [[Jasorcast War]] * The [[Naludinal Civil War]] 46da98b6a4332624a62d912a499378d5552fe1ff File:15ACSouthCasin2050.png 6 35 62 2019-12-20T12:16:51Z Rubikia 30444800 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Second Erdirahn War 0 36 71 2019-12-20T19:30:58Z Rubikia 30444800 Created page with "The '''Second Erdirahn War''' was a war waged by allied forces led by x against the [[Democratic Republic of Erdirah]] in response to Erdirahn isolationism following a formal..." wikitext text/x-wiki The '''Second Erdirahn War''' was a war waged by allied forces led by x against the [[Democratic Republic of Erdirah]] in response to Erdirahn isolationism following a formal [[Global Peace Council|GPC]] request for their oil fields to be under international ownership. 85328bf08de79ebf150908f4293aac6a79b4ec4e 72 71 2019-12-20T21:41:36Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Second Erdirahn War | image = [[File:Second_Erdirahn_War_Photobox.png|280px]] | caption = Halcrean Walker traversing a rainforest in 2057 | date = 2057 - 2062 | place = [[Erdirah]], [[North Casin]] | result = Allied victory | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[Democratic Republic of Erdirah]] | commander1 = Hans I | commander2 = Salman | casualties1 = | casualties2 = }} The '''Second Erdirahn War''' was a war waged by allied forces led by x against the [[Democratic Republic of Erdirah]] in response to Erdirahn isolationism following a formal [[Global Peace Council|GPC]] request for their oil fields to be under international ownership. 8d35e2eed0e247b3ea27d56e1846ad61e65b3f27 74 72 2019-12-20T21:46:30Z Rubikia 30444800 wikitext text/x-wiki {{infobox military conflict2 | conflict = Second Erdirahn War | image = [[File:Second_Erdirahn_War_Photobox.png|280px]] | caption = | date = 2057 - 2062 | place = [[Erdirah]], [[North Casin]] | result = Allied victory | territory = | combatant1 = [[File:halcreaflag.png|20px]] [[Halcrea]] | combatant2 = [[File:NDTUFlag.png|20px]] [[Democratic Republic of Erdirah]] | commander1 = Hans I | commander2 = Salman | casualties1 = | casualties2 = }} The '''Second Erdirahn War''' was a war waged by allied forces led by x against the [[Democratic Republic of Erdirah]] in response to Erdirahn isolationism following a formal [[Global Peace Council|GPC]] request for their oil fields to be under international ownership. 47078c1c18849f7d9e5c8c2a9688a8dc72a0bcab File:Second Erdirahn War Photobox.png 6 37 73 2019-12-20T21:42:39Z Rubikia 30444800 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709